Example #1
0
 public static Pill <MvcBootstrapHelper <TModel> > Pill <TModel>(this IPillCreator <MvcBootstrapHelper <TModel> > creator, string text, string actionName, string controllerName, object routeValues = null)
 {
     return(creator.Pill(text, null).SetAction(actionName, controllerName, routeValues));
 }
Example #2
0
 public static Pill <THelper> Pill <THelper>(this IPillCreator <THelper> creator, string text, string href = "#")
     where THelper : BootstrapHelper <THelper>
 {
     return(new Pill <THelper>(creator).SetHref(href).SetText(text));
 }