Exemplo n.º 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));
 }
Exemplo n.º 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));
 }