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