public static void CopyFrom(this IFileSystemOperator fileSystemOperator, string sourceFilePath, Stream destination)
 {
     fileSystemOperator.Copy(sourceFilePath, destination);
 }
示例#2
0
 public void Execute(IFileSystemOperator sourceFileSystemOperator, IFileSystemOperator destinationFileSystemOperator)
 {
     sourceFileSystemOperator.Copy(this.SourceFilePath, destinationFileSystemOperator, this.DestinationFilePath);
 }
 public static void CopyTo(this IFileSystemOperator fileSystemOperator, Stream source, string destinationFilePath, bool overwrite = true)
 {
     fileSystemOperator.Copy(source, destinationFilePath, overwrite);
 }