private void RemoveChild(NiHierarchy item) { RemoveFromChildren(item); item.SetSite(null); _connectionPoint.ForAll(p => p.OnChildRemoved(item)); }
private void AddChild(NiHierarchy item) { item.SetSite(this); AddToChildren(item); _connectionPoint.ForAll(p => p.OnChildAdded(item)); }