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