Пример #1
0
 public static void CopyToDir(FileSet files, DirectoryPath toDir, Overwrite overwrite)
 {
     new CopyTask(files) { ToDir = toDir, Overwrite = overwrite}.Execute();
 }
Пример #2
0
 public static void CopyToDir(FileSet files, DirectoryPath toDir)
 {
     new CopyTask(files) { ToDir = toDir }.Execute();
 }
Пример #3
0
 public static void Move(FilePath file, DirectoryPath toDir, Overwrite overwrite, bool failOnError = true)
 {
     new MoveTask(file) { ToDir = toDir, Overwrite = overwrite, FailOnError = failOnError }.Execute();
 }
Пример #4
0
 public static void Move(string file, DirectoryPath toDir, Overwrite overwrite, bool failOnError = true)
 {
     Move((FilePath)file, toDir, overwrite, failOnError);
 }
Пример #5
0
 public static void Move(FileSet files, DirectoryPath toDir, Overwrite overwrite, bool flatten = false, bool failOnError = true)
 {
     new MoveTask(files) { ToDir = toDir, Overwrite = overwrite, Flatten = flatten, FailOnError = failOnError }.Execute();
 }