ScriptBundleManager constructor
namespace: Serenity.Web assembly: Serenity.Net.Web
Creates a new instance of the class
public ScriptBundleManager(IOptions<ScriptBundlingOptions> options, IScriptMinifier scriptMinifier,
IDynamicScriptManager scriptManager, IWebHostEnvironment hostEnvironment,
IHttpContextAccessor contextAccessor = null, ILogger<ScriptBundleManager> logger = null)
| parameter | description |
|---|---|
| options | Options |
| scriptManager | Dynamic script manager |
| scriptMinifier | Script minifier |
| hostEnvironment | Web host environment |
| contextAccessor | HTTP context accessor |
| logger | Logger |
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | One of arguments is null |
See Also
- class ScriptBundlingOptions
- interface IScriptMinifier
- interface IDynamicScriptManager
- class ScriptBundleManager