public ITask CloneNonDynamicStuff() { FileGatherTask t = new FileGatherTask(); t.IsEnabled = this.IsEnabled; t.SourceDirectory = this.SourceDirectory; t.TargetDirectory = this.TargetDirectory; t.RecurseDirectories = this.RecurseDirectories; t.SortOrder = this.SortOrder; t.FilePattern = this.FilePattern; t.DeleteSource = this.DeleteSource; return(t); }
public ITask CloneNonDynamicStuff() { FileGatherTask t = new FileGatherTask(); t.IsEnabled = this.IsEnabled; t.SourceDirectory = this.SourceDirectory; t.TargetDirectory = this.TargetDirectory; t.RecurseDirectories = this.RecurseDirectories; t.SortOrder = this.SortOrder; t.FilePattern = this.FilePattern; t.DeleteSource = this.DeleteSource; return t; }