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