예제 #1
0
 public void InsertObject(SynchObject obj)
 {
     if (obj != null)
     {
         objects.Add(obj);
     }
     else
     {
         throw new NullReferenceException("InsertObject fail");
     }
 }
예제 #2
0
 public void RemoveObject(SynchObject obj)
 {
     objects.Remove(obj);
 }