DiagramSocketType

StockSharp.Diagram

Art der Verbindung.

Erbt von: Equatable<DiagramSocketType>

Implementiert: INotifyPropertyChanged, IPersistable

Konstruktoren

DiagramSocketType
private DiagramSocketType(Type type, string name, Color color)
diagramSocketType = DiagramSocketType(type, name, color)

Initialisiert eine neue Instanz von DiagramSocketType.

type
Datenart.
name
Der Name des Verbindungstyps.
color
Die Verbindungsfarbe.

Eigenschaften

AllTypes
public static IEnumerable<DiagramSocketType> AllTypes { get; }
value = DiagramSocketType.AllTypes

Alle verfügbaren Verbindungstypen für Elemente.

Color
public Color Color { get; private set; }
value = diagramSocketType.Color
diagramSocketType.Color = value

Die Verbindungsfarbe.

Name
public string Name { get; private set; }
value = diagramSocketType.Name
diagramSocketType.Name = value

Der Name des Verbindungstyps.

Type
public Type Type { get; private set; }
value = diagramSocketType.Type
diagramSocketType.Type = value

Art der Verbindung.

Methoden

Clone
public override DiagramSocketType Clone()
result = diagramSocketType.Clone()

Erstellen Sie eine Kopie von DiagramSocketType.

Rückgabe: Kopie.

GetSocketType
public static DiagramSocketType GetSocketType(Type parameterType)
result = DiagramSocketType.GetSocketType(parameterType)

Holen Sie sich DiagramSocketType für Typ.

parameterType
Typ.

Rückgabe: Typ des Diagrammsockels.

Load
public void Load(SettingsStorage storage)
diagramSocketType.Load(storage)

Lasteinstellungen.

storage
Einstellungen Lagerung.
OnEquals
protected override bool OnEquals(DiagramSocketType other)
result = diagramSocketType.OnEquals(other)

Vergleichen Sie DiagramSocketType @ auf die Äquivalenz.

other
Ein weiterer Wert, mit dem man vergleichen kann.

Rückgabe: , wenn das angegebene Objekt gleich dem aktuellen Objekt ist, andernfalls, .

OnPropertyChanged
protected virtual void OnPropertyChanged(string propertyName)
diagramSocketType.OnPropertyChanged(propertyName)

Um das Änderungsereignis für den Wert der Verbindungseigenschaft aufzurufen.

propertyName
Name des Eigentums.
RegisterType``1
public static DiagramSocketType RegisterType<T>(string name, Color color)
result = DiagramSocketType.RegisterType(name, color)

Um den Verbindungstyp zu registrieren.

name
Der Name des Verbindungstyps.
color
Die Verbindungsfarbe.

Rückgabe: Art der Verbindung.

Save
public void Save(SettingsStorage storage)
diagramSocketType.Save(storage)

Einstellungen speichern.

storage
Einstellungen Lagerung.
ToString
public override string ToString()
result = diagramSocketType.ToString()

Konvertieren Sie in eine Liniendarstellung.

Rückgabe: String-Leistung.

Ereignisse

PropertyChanged
public event PropertyChangedEventHandler PropertyChanged
diagramSocketType.PropertyChanged += handler

Die Verbindungseigenschaften werten Änderungsereignis.

Felder

Any
public static readonly DiagramSocketType Any
value = DiagramSocketType.Any

Unbekannter Datentyp.

BasketBlackScholes
public static readonly DiagramSocketType BasketBlackScholes
value = DiagramSocketType.BasketBlackScholes

Schwarze Scholes.

BlackScholes
public static readonly DiagramSocketType BlackScholes
value = DiagramSocketType.BlackScholes

Schwarze Scholes.

Bool
public static readonly DiagramSocketType Bool
value = DiagramSocketType.Bool

Flagge.

Candle
public static readonly DiagramSocketType Candle
value = DiagramSocketType.Candle

Kerzen.

CandleStates
public static readonly DiagramSocketType CandleStates
value = DiagramSocketType.CandleStates

Kerzenzustand.

Comparable
public static readonly DiagramSocketType Comparable
value = DiagramSocketType.Comparable

Vergleichbare Werte.

Date
public static readonly DiagramSocketType Date
value = DiagramSocketType.Date

Strategie.

IndicatorValue
public static readonly DiagramSocketType IndicatorValue
value = DiagramSocketType.IndicatorValue

Indikatorwert.

MarketDepth
public static readonly DiagramSocketType MarketDepth
value = DiagramSocketType.MarketDepth

Markttiefe.

MyTrade
public static readonly DiagramSocketType MyTrade
value = DiagramSocketType.MyTrade

Eigenhandel.

Options
public static readonly DiagramSocketType Options
value = DiagramSocketType.Options

Optionen.

Order
public static readonly DiagramSocketType Order
value = DiagramSocketType.Order

Bestellung.

OrderFail
public static readonly DiagramSocketType OrderFail
value = DiagramSocketType.OrderFail

Ordnung fehlgeschlagen.

OrderState
public static readonly DiagramSocketType OrderState
value = DiagramSocketType.OrderState

Ordnungsstaat.

Portfolio
public static readonly DiagramSocketType Portfolio
value = DiagramSocketType.Portfolio

Portfolio.

Position
public static readonly DiagramSocketType Position
value = DiagramSocketType.Position

Position.

Quote
public static readonly DiagramSocketType Quote
value = DiagramSocketType.Quote

Zitat.

Security
public static readonly DiagramSocketType Security
value = DiagramSocketType.Security

Finanzinstrument.

Side
public static readonly DiagramSocketType Side
value = DiagramSocketType.Side

Seite.

Strategy
public static readonly DiagramSocketType Strategy
value = DiagramSocketType.Strategy

Strategie.

String
public static readonly DiagramSocketType String
value = DiagramSocketType.String

Textstring.

Time
public static readonly DiagramSocketType Time
value = DiagramSocketType.Time

Connector.

Trade
public static readonly DiagramSocketType Trade
value = DiagramSocketType.Trade

Handel.

Unit
public static readonly DiagramSocketType Unit
value = DiagramSocketType.Unit

Zahlenwert.