Пример #1
0
 public static ListGroupItem <MvcBootstrapHelper <TModel> > ListGroupItem <TModel>(this IListGroupItemCreator <MvcBootstrapHelper <TModel> > creator, string text, string actionName, string controllerName, object routeValues = null)
 {
     return(creator.ListGroupItem(text, null).SetAction(actionName, controllerName, routeValues));
 }
        // ListGroupItem

        public static ListGroupItem <THelper> ListGroupItem <THelper>(this IListGroupItemCreator <THelper> creator, string text = null, string href = null)
            where THelper : BootstrapHelper <THelper>
        {
            return(new ListGroupItem <THelper>(creator).SetText(text).SetHref(href));
        }