IAsyncCloseWindow
StockSharp.Xaml
A window that has work to await before it closes - settings to write, say - so that Close alone does not close it at once.
Methoden
CloseAsync
public Task<bool> CloseAsync(CancellationToken cancellationToken)
result = iAsyncCloseWindow.CloseAsync(cancellationToken)
Does what the window has to do before it goes, and closes it.
- cancellationToken
- CancellationToken
Rückgabe: when the window is closing, when its user turned the close down.