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