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