예제 #1
0
 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));
 }
예제 #2
0
 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));
 }