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