Table of Contents

Class DiagramSocketType

Namespace
StockSharp.Diagram
Assembly
StockSharp.Diagram.Core.dll

Connection type.

public class DiagramSocketType : Equatable<DiagramSocketType>, INotifyPropertyChanged, IPersistable
Inheritance
DiagramSocketType
Implements
IPersistable
Extension Methods

Fields

Any

Unknown data type.

public static readonly DiagramSocketType Any

Field Value

DiagramSocketType

BasketBlackScholes

Black scholes.

public static readonly DiagramSocketType BasketBlackScholes

Field Value

DiagramSocketType

BlackScholes

Black scholes.

public static readonly DiagramSocketType BlackScholes

Field Value

DiagramSocketType

Bool

Flag.

public static readonly DiagramSocketType Bool

Field Value

DiagramSocketType

Candle

Candle.

public static readonly DiagramSocketType Candle

Field Value

DiagramSocketType

CandleStates

Candle state.

public static readonly DiagramSocketType CandleStates

Field Value

DiagramSocketType

Comparable

Comparable values.

public static readonly DiagramSocketType Comparable

Field Value

DiagramSocketType

Date

Strategy.

public static readonly DiagramSocketType Date

Field Value

DiagramSocketType

IndicatorValue

Indicator value.

public static readonly DiagramSocketType IndicatorValue

Field Value

DiagramSocketType

MarketDepth

Market depth.

public static readonly DiagramSocketType MarketDepth

Field Value

DiagramSocketType

MyTrade

Own trade.

public static readonly DiagramSocketType MyTrade

Field Value

DiagramSocketType

Options

Options.

public static readonly DiagramSocketType Options

Field Value

DiagramSocketType

Order

Order.

public static readonly DiagramSocketType Order

Field Value

DiagramSocketType

OrderFail

Order fail.

public static readonly DiagramSocketType OrderFail

Field Value

DiagramSocketType

OrderState

Order state.

public static readonly DiagramSocketType OrderState

Field Value

DiagramSocketType

Portfolio

Portfolio.

public static readonly DiagramSocketType Portfolio

Field Value

DiagramSocketType

Position

Position.

public static readonly DiagramSocketType Position

Field Value

DiagramSocketType

Quote

Quote.

public static readonly DiagramSocketType Quote

Field Value

DiagramSocketType

Security

Security.

public static readonly DiagramSocketType Security

Field Value

DiagramSocketType

Side

Side.

public static readonly DiagramSocketType Side

Field Value

DiagramSocketType

Strategy

Strategy.

public static readonly DiagramSocketType Strategy

Field Value

DiagramSocketType

Time

Connector.

public static readonly DiagramSocketType Time

Field Value

DiagramSocketType

Trade

Trade.

public static readonly DiagramSocketType Trade

Field Value

DiagramSocketType

Unit

Numeric value.

public static readonly DiagramSocketType Unit

Field Value

DiagramSocketType

Properties

AllTypes

All available connection types for elements.

public static IEnumerable<DiagramSocketType> AllTypes { get; }

Property Value

IEnumerable<DiagramSocketType>

Color

The connection color.

public Color Color { get; }

Property Value

Color

Name

The name of the connection type.

public string Name { get; }

Property Value

string

Type

Connection type.

public Type Type { get; }

Property Value

Type

Methods

Clone()

Create a copy of DiagramSocketType.

public override DiagramSocketType Clone()

Returns

DiagramSocketType

Copy.

GetSocketType(Type)

public static DiagramSocketType GetSocketType(Type parameterType)

Parameters

parameterType Type

Type.

Returns

DiagramSocketType

Diagram socket type.

Load(SettingsStorage)

Load settings.

public void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

OnEquals(DiagramSocketType)

Compare DiagramSocketType on the equivalence.

protected override bool OnEquals(DiagramSocketType other)

Parameters

other DiagramSocketType

Another value with which to compare.

Returns

bool

true, if the specified object is equal to the current object, otherwise, false.

OnPropertyChanged(string)

To call the connection property value change event.

protected virtual void OnPropertyChanged(string propertyName)

Parameters

propertyName string

Property name.

RegisterType<T>(string, Color)

To register the connection type.

public static DiagramSocketType RegisterType<T>(string name, Color color)

Parameters

name string

The name of the connection type.

color Color

The connection color.

Returns

DiagramSocketType

Connection type.

Type Parameters

T

Data type.

Save(SettingsStorage)

Save settings.

public void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

ToString()

public override string ToString()

Returns

string

Events

PropertyChanged

The connection properties value change event.

public event PropertyChangedEventHandler PropertyChanged

Event Type

PropertyChangedEventHandler