Added Endpoint (to be implemented in UE5)
This commit is contained in:
parent
e0bf2d206b
commit
850eadf27f
25
CSharp/Libraries/UniversalEditor.Core/Endpoint.cs
Normal file
25
CSharp/Libraries/UniversalEditor.Core/Endpoint.cs
Normal 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; } }
|
||||
}
|
||||
}
|
||||
@ -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" />
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user