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