public override sealed void Render(TextWriter writer) { _IsRendering = true; _CacheValue.Clear(); try { RenderContext context = new RenderContext(writer); context.Writer.WriteStartDocument(); OnRender(context); context.Writer.WriteEndDocument(); context.Writer.Flush(); } finally { _IsRendering = false; } }
public virtual void OnRender(RenderContext context) { }