Exemple #1
0
 public SetCommand(Builder.TreeBuilder builder, string args, string name)
 {
     _treeBuilder = builder;
     if (_treeBuilder.GetResult().xmlComplete)
     {
         Console.WriteLine("Xml завершен");
     }
     else
     {
         _treeBuilder.SetItem(args, name);
     }
 }
 public AddCommand(Builder.TreeBuilder builder, string args)
 {
     _treeBuilder = builder;
     _nodeBuilder = new XML.Builder.NodeBuilder().SetName(args);
     _treeBuilder.GetResult().name = args;
 }