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