Exemple #1
0
 /// <summary>Writes the specified template helper result.</summary>
 /// <param name="helper">The template writer helper.</param>
 public virtual void Write(TemplateWriter helper)
 {
     helper?.WriteTo(this.CurrentWriter);
 }
Exemple #2
0
 /// <summary>
 /// Writes the specfied template helper result to the specified writer.
 /// </summary>
 /// <param name="writer">The writer.</param>
 /// <param name="helper">The template writer helper.</param>
 public virtual void WriteTo(TextWriter writer, TemplateWriter helper)
 {
     helper?.WriteTo(writer);
 }