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