Class CeresPort
Base class for ceres graph port
Inheritance
object
CeresPort
Implements
System.IDisposable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Assembly: cs.temp.dll.dll
Syntax
public abstract class CeresPort : IPort, IDisposable
Properties
AdaptedGetter
Declaration
protected IPort AdaptedGetter { get; }
Property Value
Methods
AssignValueGetter(IPort)
Assign this port's input value source
Declaration
public virtual void AssignValueGetter(IPort port)
Parameters
| Type |
Name |
Description |
| IPort |
port |
|
AssignValueType(Type)
Declaration
public static void AssignValueType(Type type)
Parameters
| Type |
Name |
Description |
| System.Type |
type |
|
AssignValueType<T>()
Declaration
public static void AssignValueType<T>()
Type Parameters
CreateProxyPort(CeresPort<CeresPort>)
Declaration
protected abstract IPort CreateProxyPort(CeresPort<CeresPort> ceresPort)
Parameters
Returns
Dispose()
Declaration
public virtual void Dispose()
GetAssignedPortValueTypes()
Declaration
public static Type[] GetAssignedPortValueTypes()
Returns
| Type |
Description |
| System.Type[] |
|
GetCompatibleStructure(Type)
Declaration
protected static CeresPort.PortCompatibleStructure GetCompatibleStructure(Type type)
Parameters
| Type |
Name |
Description |
| System.Type |
type |
|
Returns
GetCompatibleTypes(Type)
Declaration
public static Type[] GetCompatibleTypes(Type from)
Parameters
| Type |
Name |
Description |
| System.Type |
from |
|
Returns
| Type |
Description |
| System.Type[] |
|
GetValue()
Declaration
public abstract object GetValue()
Returns
GetValueType()
Declaration
public abstract Type GetValueType()
Returns
| Type |
Description |
| System.Type |
|
IsCompatibleTo(Type, Type)
Whether port value type is compatible to another
Declaration
public static bool IsCompatibleTo(Type from, Type to)
Parameters
| Type |
Name |
Description |
| System.Type |
from |
|
| System.Type |
to |
|
Returns
Link(CeresPort)
Declaration
public abstract void Link(CeresPort targetPort)
Parameters
SetValue(object)
Declaration
public abstract void SetValue(object value)
Parameters
| Type |
Name |
Description |
| object |
value |
|
Implements
System.IDisposable