Exemple #1
0
        public virtual Node Add(Node n)
        {
            if (Children == null)
                Children = new List<Node>();

            Children.Add(n);

            return n;
        }
Exemple #2
0
 internal CompiledTemplate(Node tree)
 {
     Macros = new Dictionary<string, Node>(StringComparer.InvariantCultureIgnoreCase);
     Tree = tree;
 }