/// <summary>
        ///
        /// </summary>
        public XmlWriter.Builder XmlWriter(XmlWriter.Config config)
        {
#if MVC
            return(new XmlWriter.Builder(new XmlWriter(config)
            {
                ViewContext = this.HtmlHelper != null ? this.HtmlHelper.ViewContext : null
            }));
#else
            return(new XmlWriter.Builder(new XmlWriter(config)));
#endif
        }
 /// <summary>
 ///
 /// </summary>
 public Builder(XmlWriter.Config config) : base(new XmlWriter(config))
 {
 }
 /// <summary>
 ///
 /// </summary>
 public XmlWriter.Builder XmlWriter(XmlWriter.Config config)
 {
     return(new XmlWriter.Builder(new XmlWriter(config)));
 }