Esempio n. 1
0
 public static HtmlString JsIncludes(this HtmlHelper html, List <string> jsFiles) =>
 ViewUtils.CssIncludes(HostContext.VirtualFileSources, jsFiles).ToHtmlString();
Esempio n. 2
0
 public static HtmlString JsIncludes(this IHtmlHelper html, params string[] jsFiles) =>
 ViewUtils.CssIncludes(HostContext.VirtualFileSources, jsFiles.ToList()).ToHtmlString();
Esempio n. 3
0
 /// <summary>
 /// CSSs the includes.
 /// </summary>
 /// <param name="cssFiles">The CSS files.</param>
 /// <returns>IRawString.</returns>
 public IRawString cssIncludes(IEnumerable cssFiles) =>
 ViewUtils.CssIncludes(Context.VirtualFiles, ViewUtils.SplitStringList(cssFiles)).ToRawString();