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