DiagramSocketValue
StockSharp.Diagram
Der Wert für die Verbindung.
Konstruktoren
DiagramSocketValue
public DiagramSocketValue(DiagramSocket socket, DateTime time, object value, DiagramSocketValue source, Subscription subscription)
diagramSocketValue = DiagramSocketValue(socket, time, value, source, subscription)
Der Wert für die Verbindung.
- socket
- Anschluss.
- time
- Uhrzeit.
- value
- Wert.
- source
- Der Quellwert.
- subscription
- Zeichnung.
Eigenschaften
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
Zeichnung.
Methoden
GetValue``1
public T GetValue<T>(bool canNull)
result = diagramSocketValue.GetValue(canNull)
Um den Wert für die Verbindung zu erhalten.
Rückgabe: Wert.
ToString
public override string ToString()
result = diagramSocketValue.ToString()
Konvertieren Sie in eine Liniendarstellung.
Rückgabe: String-Leistung.