public async Task Unload(CancellationToken ct) { ShortDisposables.Dispose(); await Task.WhenAll(ViewModels.Select(vm => vm.Unload(ct))); await OnUnloaded(ct); }
public virtual void Dispose() { LongDisposables.Dispose(); ShortDisposables.Dispose(); }