Example #1
0
 public DirectoryOU(DirectoryEntryEx entry, bool leaveOpen = false)
     : base(entry, leaveOpen)
 {
     // Nothing to do.
 }
Example #2
0
 public new DirectoryOU CopyTo(DirectoryEntryEx newParent)
 {
     return(new DirectoryOU(entry.CopyTo(newParent.GetDirectoryEntry())));
 }
Example #3
0
 public new DirectoryOU CopyTo(DirectoryEntryEx newParent, string newName)
 {
     return(new DirectoryOU(entry.CopyTo(newParent.GetDirectoryEntry(), newName)));
 }
Example #4
0
 public DirectoryEntryEx(DirectoryEntryEx entry, bool leaveOpen = false)
 {
     this.entry     = entry.entry;
     this.leaveOpen = leaveOpen;
 }
Example #5
0
 public void MoveTo(DirectoryEntryEx newParent, string newName)
 {
     entry.MoveTo(newParent.entry, newName);
 }
Example #6
0
 public void MoveTo(DirectoryEntryEx newParent)
 {
     entry.MoveTo(newParent.entry);
 }
Example #7
0
        public virtual DirectoryEntryEx CopyTo(DirectoryEntryEx newParent, string newName)
        {
            DirectoryEntry copy = entry.CopyTo(newParent.entry, newName);

            return(new DirectoryEntryEx(copy));
        }
Example #8
0
        public virtual DirectoryEntryEx CopyTo(DirectoryEntryEx newParent)
        {
            DirectoryEntry copy = entry.CopyTo(newParent.entry);

            return(new DirectoryEntryEx(copy));
        }