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