public Category(XmlNode node) { Selector = CategorySelector.CreateSelectors(node); Field = node.ReadStr("@dstfield"); FieldIsEvent = Field.Contains('/'); XmlNodeList subNodes = node.SelectNodes(node.Name); if (subNodes.Count > 0) { SubCats = new Category[subNodes.Count]; for (int i = 0; i < subNodes.Count; i++) { SubCats[i] = Create(subNodes[i]); } } }
public CatergoryOrSelector(XmlNode node) { items = new List <ICategorySelector>(); CategorySelector.CreateChildSelectors(items, node); }
public CatergoryAndSelector(System.Xml.XmlNode node) { items = new List <ICategorySelector>(); CategorySelector.CreateChildSelectors(items, node); }