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