Пример #1
0
 /// <summary>
 /// Adds the child node.
 /// </summary>
 /// <param name="node">The node.</param>
 /// <returns>The node</returns>
 public ActorChildNode AddChildNode(ActorChildNode node)
 {
     if (ActorChildNodes == null)
     {
         ActorChildNodes = new List <ActorChildNode>();
     }
     ActorChildNodes.Add(node);
     node.ParentNode = this;
     return(node);
 }
Пример #2
0
 /// <summary>
 /// Adds the child node.
 /// </summary>
 /// <param name="node">The node.</param>
 /// <returns>The node</returns>
 public ActorChildNode AddChildNode(ActorChildNode node)
 {
     ActorChildNodes.Add(node);
     node.ParentNode = this;
     return(node);
 }