Class DiagramSocketValue
- Namespace
- StockSharp.Diagram
- Assembly
- StockSharp.Diagram.Core.dll
The value for the connection.
public class DiagramSocketValue
- Inheritance
-
DiagramSocketValue
- Inherited Members
- Extension Methods
Constructors
DiagramSocketValue(DiagramSocket, DateTimeOffset, object, DiagramSocketValue, Subscription)
Initializes a new instance of the DiagramSocketValue.
public DiagramSocketValue(DiagramSocket socket, DateTimeOffset time, object value, DiagramSocketValue source, Subscription subscription)
Parameters
socket
DiagramSocketConnection.
time
DateTimeOffsetTime.
value
objectValue.
source
DiagramSocketValueThe source value.
subscription
SubscriptionSubscription.
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
canNull
bool
Returns
- T
Value.
Type Parameters
T
Value type.
ToString()
public override string ToString()