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