/// <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
        }
Example #2
0
 /// <summary>
 ///
 /// </summary>
 public Builder(DataFilter.Config config) : base(new DataFilter(config))
 {
 }
Example #3
0
 /// <summary>
 ///
 /// </summary>
 public DataFilter.Builder DataFilter(DataFilter.Config config)
 {
     return(new DataFilter.Builder(new DataFilter(config)));
 }