DiagramSocketType

StockSharp.Diagram

Connection type.

Inherits: Equatable<DiagramSocketType>

Implements: INotifyPropertyChanged, IPersistable

Constructors

DiagramSocketType(Type, string, Color)

Initializes a new instance of the DiagramSocketType.

type
Data type.
name
The name of the connection type.
color
The connection color.

Properties

AllTypes : IEnumerable<DiagramSocketType>

All available connection types for elements.

Color : Color

The connection color.

Name : string

The name of the connection type.

Type : Type

Connection type.

Methods

Clone() : DiagramSocketType

Create a copy of DiagramSocketType.

Returns: Copy.

GetSocketType(Type) : DiagramSocketType

Get DiagramSocketType for Type.

parameterType
Type.

Returns: Diagram socket type.

Load(SettingsStorage)

Load settings.

storage
Settings storage.
OnEquals(DiagramSocketType) : bool

Compare DiagramSocketType on the equivalence.

other
Another value with which to compare.

Returns: , if the specified object is equal to the current object, otherwise, .

OnPropertyChanged(string)

To call the connection property value change event.

propertyName
Property name.
RegisterType``1(string, Color)

To register the connection type.

name
The name of the connection type.
color
The connection color.

Returns: Connection type.

Save(SettingsStorage)

Save settings.

storage
Settings storage.
ToString() : string

Преобразовать к строковому представлению.

Returns: Строковое представление.

Events

PropertyChanged : PropertyChangedEventHandler

The connection properties value change event.

Fields

Any : DiagramSocketType

Unknown data type.

BlackScholes : DiagramSocketType

Black scholes.

Comparable : DiagramSocketType

Comparable values.

Date : DiagramSocketType

Strategy.

IndicatorValue : DiagramSocketType

Indicator value.

MarketDepth : DiagramSocketType

Market depth.

MyTrade : DiagramSocketType

Own trade.

OrderState : DiagramSocketType

Order state.

String : DiagramSocketType

Text string.

Time : DiagramSocketType

Connector.

Unit : DiagramSocketType

Numeric value.