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