C# Class Open.Core.Common.IoExtensions

Mostrar archivo Open project: philcockfield/Open.TestHarness.SL

Public Methods

Method Description
CopyFiles ( this sourceFolder, DirectoryInfo targetFolder, string pattern, bool overwrite = true ) : void

Copies files that match the specified pattern to the target directory.

CopyFiles ( this sourceFolder, string targetFolder, string pattern, bool overwrite = true ) : void

Copies files that match the specified pattern to the target directory.

Method Details

CopyFiles() public static method

Copies files that match the specified pattern to the target directory.
public static CopyFiles ( this sourceFolder, DirectoryInfo targetFolder, string pattern, bool overwrite = true ) : void
sourceFolder this The source folder to copy from.
targetFolder System.IO.DirectoryInfo The target folder to copy to.
pattern string The file name pattern to select the files to copy with.
overwrite bool Flag indicating if existing files should be overwritten.
return void

CopyFiles() public static method

Copies files that match the specified pattern to the target directory.
public static CopyFiles ( this sourceFolder, string targetFolder, string pattern, bool overwrite = true ) : void
sourceFolder this The source folder to copy from.
targetFolder string The target folder to copy to.
pattern string The file name pattern to select the files to copy with.
overwrite bool Flag indicating if existing files should be overwritten.
return void