Class DiagramSocketValue
- Namespace
- StockSharp.Diagram
- Assembly
- StockSharp.Diagram.Core.dll
The value for the connection.
public class DiagramSocketValue
- Inheritance
-
DiagramSocketValue
- Inherited Members
- Extension Methods
Remarks
Initializes a new instance of the DiagramSocketValue.
Constructors
DiagramSocketValue(DiagramSocket, DateTimeOffset, object, DiagramSocketValue, Subscription)
The value for the connection.
public DiagramSocketValue(DiagramSocket socket, DateTimeOffset time, object value, DiagramSocketValue source, Subscription subscription)
Parameters
socketDiagramSocketConnection.
timeDateTimeOffsetTime.
valueobjectValue.
sourceDiagramSocketValueThe source value.
subscriptionSubscriptionSubscription.
Remarks
Initializes a new instance of the DiagramSocketValue.
Properties
Socket
Connection.
public DiagramSocket Socket { get; }
Property Value
Source
The source value.
public DiagramSocketValue Source { get; }
Property Value
Subscription
Subscription.
public Subscription Subscription { get; }
Property Value
Time
Time.
public DateTimeOffset Time { get; }
Property Value
Value
Value.
public object Value { get; }
Property Value
Methods
GetValue<T>(bool)
To get the value for the connection.
public T GetValue<T>(bool canNull = false)
Parameters
canNullbool
Returns
- T
Value.
Type Parameters
TValue type.
ToString()
public override string ToString()