Пример #1
0
 internal void AddObjectSafe(ClassificationObject co)
 {
     CoHashTableLock.EnterWriteLock();
     try
     {
         AddObject(co);
     }
     finally
     {
         CoHashTableLock.ExitWriteLock();
     }
 }
 internal PropertyCollection(ClassificationObject parentCo)
 {
     this._parentCo   = parentCo;
     this._properties = EmptyPropertyArray;
 }
Пример #3
0
 private void AddObject(ClassificationObject co)
 {
     co.Key         = GenerateUniqueCOKey();
     co.ObjectSpace = this;
     _coHashTable.Add(co);
 }