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