Esempio 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)
 {
     if (helper != null)
     {
         helper.WriteTo(_context.CurrentWriter);
     }
 }
Esempio 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)
        {
            if (helper == null)
            {
                return;
            }

            helper.WriteTo(writer);
        }
Esempio n. 3
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);
 }
Esempio n. 4
0
        /// <summary>
        /// Writes the specified template helper result.
        /// </summary>
        /// <param name="helper">The template writer helper.</param>
        public virtual void Write(TemplateWriter helper)
        {
            if (helper == null)
                return;

            helper.WriteTo(_context.CurrentWriter);
        }
Esempio n. 5
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);
 }
Esempio n. 6
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)
        {
            if (helper == null) return;

            helper.WriteTo(writer);
        }
Esempio n. 7
0
 public static void WriteTo(TextWriter writer, TemplateWriter helper)
 {
     helper.WriteTo(writer);
 }
Esempio n. 8
0
 public static void WriteTo(TextWriter writer, TemplateWriter helper)
 {
     helper.WriteTo(writer);
 }