DiagramSocketValue

StockSharp.Diagram

The value for the connection.

Constructors

DiagramSocketValue
public DiagramSocketValue(DiagramSocket socket, DateTime time, object value, DiagramSocketValue source, Subscription subscription)
diagramSocketValue = DiagramSocketValue(socket, time, value, source, subscription)

The value for the connection.

socket
Connection.
time
Time.
value
Value.
source
The source value.
subscription
Subscription.

Properties

Socket
public DiagramSocket Socket { get; }
value = diagramSocketValue.Socket

Connection.

Source
public DiagramSocketValue Source { get; }
value = diagramSocketValue.Source

The source value.

SubscribedSecurity
public SecurityMessage SubscribedSecurity { get; }
value = diagramSocketValue.SubscribedSecurity

Security the Subscription was made for, with the properties (price step and so on) it had at the subscription time. when the value has no market data subscription.

Subscription
public Subscription Subscription { get; }
value = diagramSocketValue.Subscription

Subscription.

Time
public DateTime Time { get; }
value = diagramSocketValue.Time

Time.

Value
public object Value { get; }
value = diagramSocketValue.Value

Value.

Methods

GetValue``1
public T GetValue<T>(bool canNull)
result = diagramSocketValue.GetValue(canNull)

To get the value for the connection.

Returns: Value.

ToString
public override string ToString()
result = diagramSocketValue.ToString()

Returns a string representation of the tuple, with values separated by commas.

Returns: A string representing the tuple's values.