public static string StylesheetsFor(this HtmlHelper htmlHelper, params string[] tags) { var files = AssetCache.GetCssFor(tags); var sb = new StringBuilder(); foreach (var file in files) { sb.AppendLine(StaticResourceExtensions.Stylesheet(htmlHelper, file)); } return(sb.ToString()); }
public static string Stylesheet(this HtmlHelper htmlHelper, string file) { return(StaticResourceExtensions.Stylesheet(htmlHelper, file, null)); }