ChartPanelOrderSettings
StockSharp.Xaml.Charting
Einstellungen für die Registrierung der Kartenreihenfolge.
Erbt von: NotifiableObject
Implementiert: IAsyncPersistable
Eigenschaften
Portfolio
public Portfolio Portfolio { get; set; }
value = chartPanelOrderSettings.Portfolio
chartPanelOrderSettings.Portfolio = value
Das Portfolio.
Security
public Security Security { get; set; }
value = chartPanelOrderSettings.Security
chartPanelOrderSettings.Security = value
Das Finanzinstrument.
Volume
public decimal Volume { get; set; }
value = chartPanelOrderSettings.Volume
chartPanelOrderSettings.Volume = value
Anzahl der Verträge in der Bestellung.
Methoden
LoadAsync
public Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = chartPanelOrderSettings.LoadAsync(storage, cancellationToken)
Asynchronously loads the state of the object from the specified SettingsStorage.
- storage
- The SettingsStorage instance from which to load the data.
- cancellationToken
- A token to monitor for cancellation requests.
Rückgabe: A task that represents the asynchronous load operation.
SaveAsync
public Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = chartPanelOrderSettings.SaveAsync(storage, cancellationToken)
Asynchronously saves the state of the object to the specified SettingsStorage.
- storage
- The SettingsStorage instance to which to save the data.
- cancellationToken
- A token to monitor for cancellation requests.
Rückgabe: A task that represents the asynchronous save operation.