示例#1
0
 /// <summary>
 ///  Adds JS to the httpcontext passed for bundling and minifying.
 /// </summary>
 /// <param name="httpContext">httpcontext where the  js to be added.</param>
 /// <param name="name">unique name of the js</param>
 /// <param name="filePath">Js file path which is inside wwwroot folder. Eg: "/js/foldername/index.js"</param>
 public void AddJS(IHttpContextAccessor httpContextAccessor, string name, string filePath)
 {
     _coreHelper.AddJS(httpContextAccessor, name, filePath);
 }