Added Endpoint (to be implemented in UE5)

This commit is contained in:
Michael Becker 2014-07-29 19:47:34 -04:00
parent e0bf2d206b
commit 850eadf27f
2 changed files with 27 additions and 1 deletions

View File

@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace UniversalEditor
{
/// <summary>
/// Represents an endpoint (<see cref="DataFormat"/>/<see cref="Accessor"/> pair) that
/// defines how and where data is transferred.
/// </summary>
public class Endpoint
{
public class EndpointCollection
: System.Collections.ObjectModel.Collection<Endpoint>
{
}
private Accessor mvarAccessor = null;
public Accessor Accessor { get { return mvarAccessor; } set { mvarAccessor = value; } }
private DataFormat mvarDataFormat = null;
public DataFormat DataFormat { get { return mvarDataFormat; } set { mvarDataFormat = value; } }
}
}

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@ -56,6 +56,7 @@
<Compile Include="Document.cs" />
<Compile Include="DataFormat.cs" />
<Compile Include="CustomOption.cs" />
<Compile Include="Endpoint.cs" />
<Compile Include="ExtensionMethods.cs" />
<Compile Include="InvalidDataFormatException.cs" />
<Compile Include="IO\Encoding.cs" />