Example #1
0
 public void RemoveChild(IModelNode child)
 {
     if (_children.Remove(child))
     {
         child.SetParent(null);
     }
 }
Example #2
0
		public void RemoveChild(IModelNode child)
		{
			if (_children.Remove(child))
			{
				child.SetParent(null);
			}
		}
Example #3
0
		public void AddChild(IModelNode child)
		{
			child.SetParent(this);
			_children.Add(child);
		}
Example #4
0
 public void AddChild(IModelNode child)
 {
     child.SetParent(this);
     _children.Add(child);
 }