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