C# Class Open.Core.Common.IoExtensions

Afficher le fichier Open project: philcockfield/Open.TestHarness.SL

Méthodes publiques

Méthode 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 méthode

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.
Résultat void

CopyFiles() public static méthode

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.
Résultat void