Beispiel #1
0
 public void xg(int indnt, StreamWriter writer, ITunnel node, string msg)
 {
     indent(indnt, writer);
     if (msg != "")
     {
         writer.WriteLine(msg);
     }
     writer.Write("<ITunnel NodeId=\"" + node.UniqueId + "\" ParentId=\"" + node.ParentNode.UniqueId + "\">\n");
     indent(indnt + 1, writer);
     writer.Write("<IsInput>" + node.IsInput() + "</IsInput>\n");
     indent(indnt + 1, writer);
     writer.Write("<GetInnerTerminal TerminalId=\"" + node.GetInnerTerminal().UniqueId + "\"/>\n");
     indent(indnt + 1, writer);
     writer.Write("<GetOuterTerminal TerminalId=\"" + node.GetOuterTerminal().UniqueId + "\"/>\n");
     indent(indnt + 1, writer);
     writer.Write("<IndexingMode>" + node.IndexingMode + "</IndexingMode>\n");
     PrintTerminals(indnt + 1, writer, node.Terminals);
     indent(indnt, writer);
     writer.Write("</ITunnel>\n");
 }