예제 #1
0
 public void Handle(string createdFile)
 {
     var copier = new CopyFileAsync(Path.Combine(_sourceDirectory, createdFile), Path.Combine(_targetDirectory, createdFile), false);
     copier.Execute().Wait();
 }
예제 #2
0
 public void Handle(string modifiedFile)
 {
     var copier = new CopyFileAsync(Path.Combine(_sourceDirectory, modifiedFile), Path.Combine(_targetDirectory, modifiedFile), true);
     copier.Execute().Wait();
 }