/// <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); }
/// <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); }