Exemplo n.º 1
0
Arquivo: Node.cs Projeto: Niels-R/core
        public virtual Node Add(Node n)
        {
            if (Children == null)
                Children = new List<Node>();

            Children.Add(n);

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