Ejemplo n.º 1
0
 public static void CopyToDir(FileSet files, DirectoryPath toDir, Overwrite overwrite)
 {
     new CopyTask(files) { ToDir = toDir, Overwrite = overwrite}.Execute();
 }
Ejemplo n.º 2
0
 public static void CopyToDir(FileSet files, DirectoryPath toDir)
 {
     new CopyTask(files) { ToDir = toDir }.Execute();
 }
Ejemplo n.º 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();
 }
Ejemplo n.º 4
0
 public static void Move(string file, DirectoryPath toDir, Overwrite overwrite, bool failOnError = true)
 {
     Move((FilePath)file, toDir, overwrite, failOnError);
 }
Ejemplo n.º 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();
 }