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