/// <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 }
/// <summary> /// /// </summary> public Builder(DirectProxy.Config config) : base(new DirectProxy(config)) { }
/// <summary> /// /// </summary> public DirectProxy.Builder DirectProxy(DirectProxy.Config config) { return(new DirectProxy.Builder(new DirectProxy(config))); }