예제 #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);
     }
 }
예제 #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);
        }
예제 #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);
 }
예제 #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);
        }
예제 #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);
 }
예제 #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);
        }
예제 #7
0
 public static void WriteTo(TextWriter writer, TemplateWriter helper)
 {
     helper.WriteTo(writer);
 }
예제 #8
0
 public static void WriteTo(TextWriter writer, TemplateWriter helper)
 {
     helper.WriteTo(writer);
 }