public static IItemWriter <T> Href <T>(this IItemWriter <T> target, UrlActionContext actionContext) where T : Element, ILink { var href = ((BootstrapHelper)target.Helper).CreateUrl(actionContext); target.Href(href); return(target); }
public static IItemWriter <T> Href <T>(this IItemWriter <T> target, RouteValueDictionary routeValues) where T : Element, ILink { var href = target.Helper.CreateUrl(routeValues); target.Href(href); return(target); }
public static IItemWriter <T, TContent> Href <T, TContent>(this IItemWriter <T, TContent> target, UrlActionContext actionContext) where T : ContentElement <TContent>, ILink where TContent : DisposableContent { var href = ((BootstrapHelper)target.Helper).CreateUrl(actionContext); target.Href(href); return(target); }
public static IItemWriter <T, TContent> Href <T, TContent>(this IItemWriter <T, TContent> target, RouteValueDictionary routeValues) where T : ContentElement <TContent>, ILink where TContent : DisposableContent { var href = target.Helper.CreateUrl(routeValues); target.Href(href); return(target); }