public override void PrintList(TextTemplateParameters p)
 {
     foreach (var node in Nodes)
     {
         node.PrintList(p);
     }
 }
            public override void PrintList(TextTemplateParameters p)
            {
                var obj = ValueProvider !.GetValue(p);

                var text = obj is Enum ? ((Enum)obj).NiceToString() :
                           obj is IFormattable ? ((IFormattable)obj).ToString(Format ?? ValueProvider.Format, p.Culture) :
                           obj?.ToString();

                p.StringBuilder.Append(p.IsHtml && !IsRaw && !(obj is HtmlString)? HttpUtility.HtmlEncode(text) : text);
            }
 public override void PrintList(TextTemplateParameters p)
 {
     if (Condition.Evaluate(p))
     {
         IfBlock.PrintList(p);
     }
     else if (ElseBlock != null)
     {
         ElseBlock.PrintList(p);
     }
 }
            public override void PrintList(TextTemplateParameters p)
            {
                var filtered = this.Condition.GetFilteredRows(p);

                using (filtered is IEnumerable <ResultRow>?p.OverrideRows((IEnumerable <ResultRow>)filtered) : null)
                {
                    if (filtered.Any())
                    {
                        AnyBlock.PrintList(p);
                    }
                    else if (NotAnyBlock != null)
                    {
                        NotAnyBlock.PrintList(p);
                    }
                }
            }
 public override void PrintList(TextTemplateParameters p)
 {
 }
 public override void PrintList(TextTemplateParameters p)
 {
     p.StringBuilder.Append(Text);
 }
 public override void PrintList(TextTemplateParameters p)
 {
     ValueProvider !.Foreach(p, () => Block.PrintList(p));
 }
 public abstract void PrintList(TextTemplateParameters p);
 public string Print(TextTemplateParameters p)
 {
     this.PrintList(p);
     return(p.StringBuilder.ToString());
 }