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