public virtual TemplateNode Add(TemplateNode n) { if (Children == null) Children = new List<TemplateNode>(); Children.Add(n); return n; }
public virtual TemplateNode Add(TemplateNode n) { if (Children == null) { Children = new List <TemplateNode>(); } Children.Add(n); return(n); }
internal CompiledTemplate(TemplateNode tree) { Macros = new Dictionary <string, TemplateNode>(StringComparer.OrdinalIgnoreCase); Tree = tree; }
internal CompiledTemplate(TemplateNode tree) { Macros = new Dictionary<string, TemplateNode>(StringComparer.OrdinalIgnoreCase); Tree = tree; }