コード例 #1
0
ファイル: FrameworkTree.cs プロジェクト: SmartFire/ConsoleNet
 /// <summary>
 /// Removes the child.
 /// </summary>
 /// <returns><c>true</c>, if child was removed, <c>false</c> otherwise.</returns>
 /// <param name="child">Child.</param>
 public bool RemoveChild(FrameworkObject child)
 {
     return(children.Remove(child));
 }
コード例 #2
0
ファイル: FrameworkTree.cs プロジェクト: SmartFire/ConsoleNet
 /// <summary>
 /// Adds the child.
 /// </summary>
 /// <param name="child">Child.</param>
 public void AddChild(FrameworkObject child)
 {
     children.Add(child);
 }