ChartPanelOrderSettings

StockSharp.Xaml.Charting

图表顺序注册设置 。

继承自: NotifiableObject

实现: IAsyncPersistable

属性

Portfolio
public Portfolio Portfolio { get; set; }
value = chartPanelOrderSettings.Portfolio
chartPanelOrderSettings.Portfolio = value

投资组合。

Security
public Security Security { get; set; }
value = chartPanelOrderSettings.Security
chartPanelOrderSettings.Security = value

财经道具.

Volume
public decimal Volume { get; set; }
value = chartPanelOrderSettings.Volume
chartPanelOrderSettings.Volume = value

合同数量按顺序排列。

方法

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.

返回值: 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.

返回值: A task that represents the asynchronous save operation.