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