DiagramSocketValue

StockSharp.Diagram

连接值 。

构造函数

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

连接值 。

socket
连接。
time
时间到了
value
价值.
source
出处值.
subscription
订阅.

属性

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

连接。

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

出处值.

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

订阅.

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

时间到了

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

价值.

方法

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

以取相接之相值.

返回值: 价值.

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

转换为行代表.

返回值: 弦乐表演.