コード例 #1
0
		public void Copy(FileSystemData source, string destination, bool overwrite = false) {

			if (source.IsDirectory) {
				Copy((DirectoryData)source, destination, overwrite);
			}
			else {
				Copy((FileData)source, destination, overwrite);
			}
		}
コード例 #2
0
 public void Copy(FileSystemData source, string destination, bool overwrite = false)
 {
     if (source.IsDirectory)
     {
         Copy((DirectoryData)source, destination, overwrite);
     }
     else
     {
         Copy((FileData)source, destination, overwrite);
     }
 }
コード例 #3
0
 public void Delete(FileSystemData source)
 {
     if (source.IsDirectory)
     {
         Delete((DirectoryData)source);
     }
     else
     {
         Delete((FileData)source);
     }
 }
コード例 #4
0
		public void Delete(FileSystemData source) {

			if (source.IsDirectory) {
				Delete((DirectoryData)source);
			}
			else {
				Delete((FileData)source);
			}
		}