private void InitializeEntryNode(IEntryNode treeNode) { if (HasUnsupportedDirectives) { foreach (UnsupportedDirectiveEntry unsupportedDirectiveEntry in UnsupportedDirectives) { treeNode.AddChild(unsupportedDirectiveEntry.TreeNode); } } if (Rules.Count > 0) { IEntryNode entryNode = base.CreateEntryNode(this, "<" + RulesNodeName + ">"); treeNode.AddChild(entryNode); foreach (RuleEntry ruleEntry in Rules) { entryNode.AddChild(ruleEntry.TreeNode); } entryNode.Expand(); } treeNode.Expand(); }
void IEntryNode.AddChild(IEntryNode node) { base.Nodes.Add((EntryTreeNode)node); }