http://www.w3.org/ns/prov#value | - / Task.Targets.Count));128129 try130 {131 //Depending on whether the path is a file or directory, execute the132 //correct function.133 if ((File.GetAttributes(Path) & FileAttributes.Directory) != 0)134 {135 DirectoryInfo info = new DirectoryInfo(Path);136 CopyDirectory(info);137 }138 else139 {140 FileInfo info = new FileInfo(Path);141 CopyFile(info);142 }143 }144 finally145 {146 Progress = null;
|