示例#1
0
 public static HtmlString JsIncludes(this HtmlHelper html, List <string> jsFiles) =>
 ViewUtils.CssIncludes(HostContext.VirtualFileSources, jsFiles).ToHtmlString();
示例#2
0
 public static HtmlString JsIncludes(this IHtmlHelper html, params string[] jsFiles) =>
 ViewUtils.CssIncludes(HostContext.VirtualFileSources, jsFiles.ToList()).ToHtmlString();
示例#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();