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