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