Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }