public static void CopyFrom(this IFileSystemOperator fileSystemOperator, string sourceFilePath, Stream destination) { fileSystemOperator.Copy(sourceFilePath, destination); }
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); }