public Task Backup(IPartition partition, string destination, IOperationProgress progressObserver, CancellationToken cancellationToken = default(CancellationToken)) { Log.Information("Capturing Windows backup..."); progressObserver.Percentage.OnNext(double.NaN); return(imageService.CaptureImage(partition, destination, progressObserver, cancellationToken)); }
public Task Backup(Volume windowsVolume, string destination, IDownloadProgress progressObserver) { Log.Information("Capturing Windows backup..."); progressObserver.Percentage.OnNext(double.NaN); return(imageService.CaptureImage(windowsVolume, destination, progressObserver)); }