예제 #1
0
 void ICollectionItem.SetCollection(Collection newCollection)
 {
     collection = newCollection;
 }
예제 #2
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         Collection oldCollection = collection;
         collection = null;
         if (oldCollection != null) oldCollection.Remove(this);
     }
     base.Dispose(disposing);
 }
예제 #3
0
 public ComponentCollectionItem()
 {
     collection = null;
     name = "";
 }