Пример #1
0
        // LinkButton

        public static LinkButton <THelper> LinkButton <THelper>(this ILinkButtonCreator <THelper> creator, string text, string href = "#")
            where THelper : BootstrapHelper <THelper>
        {
            return(new LinkButton <THelper>(creator).SetText(text).SetHref(href));
        }
Пример #2
0
 public static LinkButton <MvcBootstrapHelper <TModel> > LinkButton <TModel>(this ILinkButtonCreator <MvcBootstrapHelper <TModel> > creator, string text, string actionName, string controllerName, object routeValues = null)
 {
     return(creator.LinkButton(text, null).SetAction(actionName, controllerName, routeValues));
 }