Beispiel #1
0
        public FAdObject Clone()
        {
            FAdObject directory = new FAdObject();

            directory._connection = _connection;
            directory.Entry       = _entry;
            return(directory);
        }
Beispiel #2
0
 public FAdObjects GetChildren(bool refresh)
 {
     if (!refresh && _children != null)
     {
         return(_children);
     }
     _children = new FAdObjects();
     foreach (DirectoryEntry entry in _entry.Children)
     {
         FAdObject adObject = RAdManager.CreateObject(entry.SchemaClassName);
         adObject._connection        = _connection;
         adObject._entry             = entry;
         _children[entry.NativeGuid] = adObject;
     }
     return(_children);
 }