C# Класс Open.Core.Common.IoExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

CopyFiles() публичный статический Метод

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.
Результат void

CopyFiles() публичный статический Метод

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.
Результат void