Class CeresPort<TValue>
  Generic port for any value worked as linked list at runtime
 
  
  
    Inheritance
    object
    
    CeresPort<TValue>
      
      
   
  
  
    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 class CeresPort<TValue> : CeresPort, IDisposable, IPort<TValue>, IPort
   
  Type Parameters
  
  Constructors
  
  CeresPort()
  
  
  Declaration
  
  
  CeresPort(TValue)
  
  
  Declaration
  
    public CeresPort(TValue value)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | TValue | 
        value | 
         | 
      
    
  
  Fields
  Default
  
  
  Declaration
  
    public static readonly CeresPort<TValue> Default
   
  Field Value
  
  DefaultArray
  
  
  Declaration
  
    public static readonly CeresPort<TValue>[] DefaultArray
   
  Field Value
  
  DefaultList
  
  
  Declaration
  
    public static readonly List<CeresPort<TValue>> DefaultList
   
  Field Value
  
  defaultValue
  Port self value or default value if has no connection
 
  
  Declaration
  
    public TValue defaultValue
   
  Field Value
  
  Properties
  
  Value
  
  
  Declaration
  
    public TValue Value { get; set; }
   
  Property Value
  
  Methods
  
  AssignValueGetter(IPort)
  
  
  Declaration
  
    public override void AssignValueGetter(IPort port)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | IPort | 
        port | 
         | 
      
    
  
  Overrides
  
  
  CreateProxyPort(CeresPort<CeresPort>)
  
  
  Declaration
  
    protected override IPort CreateProxyPort(CeresPort<CeresPort> ceresPort)
   
  Parameters
  
  Returns
  
  Overrides
  
  
  Dispose()
  
  
  Declaration
  
    public override void Dispose()
   
  Overrides
  
  
  GetValue()
  
  
  Declaration
  
    public override object GetValue()
   
  Returns
  
  Overrides
  
  
  GetValueType()
  
  
  Declaration
  
    public override Type GetValueType()
   
  Returns
  
  Overrides
  
  
  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
  
  
  Link(CeresPort)
  
  
  Declaration
  
    public override void Link(CeresPort targetPort)
   
  Parameters
  
  Overrides
  
  
  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
  
  
  SetValue(object)
  
  
  Declaration
  
    public override void SetValue(object value)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | object | 
        value | 
         | 
      
    
  
  Overrides
  
  Implements
  
      IDisposable