public async Task Execute(Arguments arguments) { CreateSnapshotRequest request = CreateRequest(); IDiskAnalysisProgress diskAnalysisProgress = await requestBus.PlaceRequest <CreateSnapshotRequest, IDiskAnalysisProgress>(request); diskAnalysisProgress.Progress += HandleAnalysisProgress; diskAnalysisProgress.WaitToEnd(); }
public async Task Execute(Arguments arguments) { CreateSnapshotRequest request = new() { PotName = PotName }; IDiskAnalysisProgress diskAnalysisProgress = await requestBus.PlaceRequest <CreateSnapshotRequest, IDiskAnalysisProgress>(request); diskAnalysisProgress.Progress += HandleAnalysisProgress; diskAnalysisProgress.WaitToEnd(); SnapshotLocation = "missing"; }