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