Table of Contents

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 DiagramSocket

Connection.

time DateTimeOffset

Time.

value object

Value.

source DiagramSocketValue

The source value.

subscription Subscription

Subscription.

Properties

Socket

Connection.

public DiagramSocket Socket { get; }

Property Value

DiagramSocket

Source

The source value.

public DiagramSocketValue Source { get; }

Property Value

DiagramSocketValue

Subscription

Subscription.

public Subscription Subscription { get; }

Property Value

Subscription

Time

Time.

public DateTimeOffset Time { get; }

Property Value

DateTimeOffset

Value

Value.

public object Value { get; }

Property Value

object

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()

Returns

string