Пример #1
0
 /// <summary>
 /// Copies the directory to the specified parent directory
 /// </summary>
 /// <param name="Directory">Directory to copy to</param>
 /// <param name="Options">Copy options</param>
 /// <returns>Returns the new directory</returns>
 public IDirectory CopyTo(IDirectory Directory, Enums.CopyOptions Options = CopyOptions.CopyAlways)
 {
     if (InternalDirectory == null || Directory == null)
     {
         return(this);
     }
     return(InternalDirectory.CopyTo(Directory, Options));
 }
Пример #2
0
 /// <summary>
 /// Copies the directory to the specified parent directory
 /// </summary>
 /// <param name="Directory">Directory to copy to</param>
 /// <param name="Options">Copy options</param>
 /// <returns></returns>
 public IDirectory CopyTo(IDirectory Directory, Enums.CopyOptions Options = CopyOptions.CopyAlways)
 {
     Contract.Ensures(Contract.Result <IDirectory>() != null);
     return(null);
 }