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