public override void PrintList(EmailTemplateParameters p)
 {
     foreach (var node in Nodes)
     {
         node.PrintList(p);
     }
 }
            public override void PrintList(EmailTemplateParameters 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(EmailTemplateParameters p)
 {
     if (ValueProvider.GetCondition(p, this.Operation, this.Value))
     {
         IfBlock.PrintList(p);
     }
     else if (ElseBlock != null)
     {
         ElseBlock.PrintList(p);
     }
 }
            public override void PrintList(EmailTemplateParameters p)
            {
                var filtered = this.ValueProvider.GetFilteredRows(p, this.Operation, this.Value);

                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(EmailTemplateParameters p)
 {
     if (ValueProvider.GetCondition(p, this.Operation, this.Value))
     {
         IfBlock.PrintList(p);
     }
     else if (ElseBlock != null)
     {
         ElseBlock.PrintList(p);
     }
 }
            public override void PrintList(EmailTemplateParameters p)
            {
                var filtered = this.ValueProvider.GetFilteredRows(p, this.Operation, this.Value);

                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 abstract void PrintList(EmailTemplateParameters p);
 public override void PrintList(EmailTemplateParameters p)
 {
     ValueProvider.Foreach(p, () => Block.PrintList(p));
 }
 public override void PrintList(EmailTemplateParameters p)
 {
     foreach (var node in Nodes)
     {
         node.PrintList(p);
     }
 }
 public string Print(EmailTemplateParameters p)
 {
     this.PrintList(p);
     return p.StringBuilder.ToString();
 }
 public string Print(EmailTemplateParameters p)
 {
     this.PrintList(p);
     return(p.StringBuilder.ToString());
 }
 public override void PrintList(EmailTemplateParameters p)
 {
 }
 public override void PrintList(EmailTemplateParameters p)
 {
     p.StringBuilder.Append(Text);
 }
 public abstract void PrintList(EmailTemplateParameters p);
 public override void PrintList(EmailTemplateParameters p)
 {
     ValueProvider.Foreach(p, () => Block.PrintList(p));
 }
 public override void PrintList(EmailTemplateParameters p)
 {
     p.StringBuilder.Append(Text);
 }
 public override void PrintList(EmailTemplateParameters p)
 {
 }
            public override void PrintList(EmailTemplateParameters 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);
            }