/// <summary>Print in readable format the execution strategy. </summary> /// <param name="execNode">execution node to print</param> /// <returns>readable text with execution nodes constructed for actual streams</returns> public static String Print(ExecNode execNode) { var stringWriter = new StringWriter(); var indentWriter = new IndentWriter(stringWriter, 4, 2); execNode.Print(indentWriter); return(stringWriter.ToString()); }
/// <summary> /// Add a child node. /// </summary> /// <param name="childNode">to add</param> public void AddChildNode(ExecNode childNode) { _childNodes.Add(childNode); }