Inheritance: ContainerBase.Config
        /// <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
        }
Esempio n. 2
0
 /// <summary>
 ///
 /// </summary>
 public Builder(Container.Config config) : base(new Container(config))
 {
 }
Esempio n. 3
0
 /// <summary>
 ///
 /// </summary>
 public Container.Builder Container(Container.Config config)
 {
     return(new Container.Builder(new Container(config)));
 }