public void CategoryAdd(string aName, SXILParserNodeCollection aParsers) { SXILParserNodeCategory category = new SXILParserNodeCategory(aName); category.Children = aParsers; iParsers.Add(category); }
public void CategoryAdd(string aName, params SXILParserNode[] aParserNodes) { SXILParserNodeCategory category = new SXILParserNodeCategory(aName); foreach (SXILParserNode parserNode in aParserNodes) { category.Children.Add(parserNode); } iParsers.Add(category); }