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