DiagramSocketType
Art der Verbindung.
Erbt von: Equatable<DiagramSocketType>
Implementiert: INotifyPropertyChanged, IPersistable
Konstruktoren
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
public static IEnumerable<DiagramSocketType> AllTypes { get; }
value = DiagramSocketType.AllTypes
Alle verfügbaren Verbindungstypen für Elemente.
public Color Color { get; private set; }
value = diagramSocketType.Color
diagramSocketType.Color = value
Die Verbindungsfarbe.
public string Name { get; private set; }
value = diagramSocketType.Name
diagramSocketType.Name = value
Der Name des Verbindungstyps.
public Type Type { get; private set; }
value = diagramSocketType.Type
diagramSocketType.Type = value
Art der Verbindung.
Methoden
public override DiagramSocketType Clone()
result = diagramSocketType.Clone()
Erstellen Sie eine Kopie von DiagramSocketType.
Rückgabe: Kopie.
public static DiagramSocketType GetSocketType(Type parameterType)
result = DiagramSocketType.GetSocketType(parameterType)
Holen Sie sich DiagramSocketType für Typ.
- parameterType
- Typ.
Rückgabe: Typ des Diagrammsockels.
public void Load(SettingsStorage storage)
diagramSocketType.Load(storage)
Lasteinstellungen.
- storage
- Einstellungen Lagerung.
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, .
protected virtual void OnPropertyChanged(string propertyName)
diagramSocketType.OnPropertyChanged(propertyName)
Um das Änderungsereignis für den Wert der Verbindungseigenschaft aufzurufen.
- propertyName
- Name des Eigentums.
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.
public void Save(SettingsStorage storage)
diagramSocketType.Save(storage)
Einstellungen speichern.
- storage
- Einstellungen Lagerung.
public override string ToString()
result = diagramSocketType.ToString()
Konvertieren Sie in eine Liniendarstellung.
Rückgabe: String-Leistung.
Ereignisse
public event PropertyChangedEventHandler PropertyChanged
diagramSocketType.PropertyChanged += handler
Die Verbindungseigenschaften werten Änderungsereignis.
Felder
public static readonly DiagramSocketType Any
value = DiagramSocketType.Any
Unbekannter Datentyp.
public static readonly DiagramSocketType BasketBlackScholes
value = DiagramSocketType.BasketBlackScholes
Schwarze Scholes.
public static readonly DiagramSocketType BlackScholes
value = DiagramSocketType.BlackScholes
Schwarze Scholes.
public static readonly DiagramSocketType CandleStates
value = DiagramSocketType.CandleStates
Kerzenzustand.
public static readonly DiagramSocketType Comparable
value = DiagramSocketType.Comparable
Vergleichbare Werte.
public static readonly DiagramSocketType IndicatorValue
value = DiagramSocketType.IndicatorValue
Indikatorwert.
public static readonly DiagramSocketType MarketDepth
value = DiagramSocketType.MarketDepth
Markttiefe.
public static readonly DiagramSocketType MyTrade
value = DiagramSocketType.MyTrade
Eigenhandel.
public static readonly DiagramSocketType Options
value = DiagramSocketType.Options
Optionen.
public static readonly DiagramSocketType OrderFail
value = DiagramSocketType.OrderFail
Ordnung fehlgeschlagen.
public static readonly DiagramSocketType OrderState
value = DiagramSocketType.OrderState
Ordnungsstaat.
public static readonly DiagramSocketType Portfolio
value = DiagramSocketType.Portfolio
Portfolio.
public static readonly DiagramSocketType Position
value = DiagramSocketType.Position
Position.
public static readonly DiagramSocketType Security
value = DiagramSocketType.Security
Finanzinstrument.
public static readonly DiagramSocketType Strategy
value = DiagramSocketType.Strategy
Strategie.