Search Results for

    Show / Hide Table of Contents

    Class CeresPort<TValue>

    Generic port for any value worked as linked list at runtime

    Inheritance
    object
    CeresPort
    CeresPort<TValue>
    DelegatePort<TDelegate>
    NodePort
    Implements
    IDisposable
    IPort<TValue>
    IPort
    Inherited Members
    CeresPort.AdaptedGetter
    CeresPort.AssignValueType<T>()
    CeresPort.AssignValueType(Type)
    CeresPort.GetAssignedPortValueTypes()
    CeresPort.GetCompatibleStructure(Type)
    CeresPort.IsCompatibleTo(Type, Type)
    CeresPort.GetCompatibleTypes(Type)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Ceres.Graph
    Assembly: cs.temp.dll.dll
    Syntax
    public class CeresPort<TValue> : CeresPort, IDisposable, IPort<TValue>, IPort
    Type Parameters
    Name Description
    TValue

    Constructors

    CeresPort()

    Declaration
    public CeresPort()

    CeresPort(TValue)

    Declaration
    public CeresPort(TValue value)
    Parameters
    Type Name Description
    TValue value

    Fields

    Default

    Declaration
    public static readonly CeresPort<TValue> Default
    Field Value
    Type Description
    CeresPort<TValue>

    DefaultArray

    Declaration
    public static readonly CeresPort<TValue>[] DefaultArray
    Field Value
    Type Description
    CeresPort<TValue>[]

    DefaultList

    Declaration
    public static readonly List<CeresPort<TValue>> DefaultList
    Field Value
    Type Description
    System.Collections.Generic.List<T><CeresPort<TValue>>

    defaultValue

    Port self value or default value if has no connection

    Declaration
    public TValue defaultValue
    Field Value
    Type Description
    TValue

    Properties

    Value

    Declaration
    public TValue Value { get; set; }
    Property Value
    Type Description
    TValue

    Methods

    AssignValueGetter(IPort)

    Declaration
    public override void AssignValueGetter(IPort port)
    Parameters
    Type Name Description
    IPort port
    Overrides
    CeresPort.AssignValueGetter(IPort)

    CreateProxyPort(CeresPort<CeresPort>)

    Declaration
    protected override IPort CreateProxyPort(CeresPort<CeresPort> ceresPort)
    Parameters
    Type Name Description
    CeresPort<CeresPort> ceresPort
    Returns
    Type Description
    IPort
    Overrides
    CeresPort.CreateProxyPort(CeresPort<CeresPort>)

    Dispose()

    Declaration
    public override void Dispose()
    Overrides
    CeresPort.Dispose()

    GetValue()

    Declaration
    public override object GetValue()
    Returns
    Type Description
    object
    Overrides
    CeresPort.GetValue()

    GetValueType()

    Get port value type

    Declaration
    public override Type GetValueType()
    Returns
    Type Description
    Type
    Overrides
    CeresPort.GetValueType()

    IsCompatibleTo(Type)

    Is this port value type compatible to specific type

    Declaration
    public static bool IsCompatibleTo(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    bool

    Link(CeresPort)

    Declaration
    public override void Link(CeresPort targetPort)
    Parameters
    Type Name Description
    CeresPort targetPort
    Overrides
    CeresPort.Link(CeresPort)

    MakeCompatibleTo<T>(Func<TValue, T>)

    Register an output value convert method to make is compatible to

    Declaration
    public static void MakeCompatibleTo<T>(Func<TValue, T> valueConvertFunc)
    Parameters
    Type Name Description
    Func<, ><TValue, T> valueConvertFunc

    Func for converting input to

    Type Parameters
    Name Description
    T

    SetValue(object)

    Declaration
    public override void SetValue(object value)
    Parameters
    Type Name Description
    object value
    Overrides
    CeresPort.SetValue(object)

    Implements

    IDisposable
    IPort<TValue>
    IPort
    In This Article
    Back to top Copyright © 2025 AkiKurisu
    Generated with DocFX