Skip to content

CssBundleManager constructor

Initializes a new instance of the CssBundleManager class.

public CssBundleManager(IOptions<CssBundlingOptions> options, IDynamicScriptManager scriptManager, 
    ICssBundleBuilder bundleBuilder, IWebHostEnvironment hostEnvironment, 
    IHttpContextAccessor? contextAccessor = null)
parameter description
options The options.
scriptManager The dynamic script manager.
bundleBuilder The CSS bundle builder.
hostEnvironment The web host environment.
contextAccessor The HTTP context accessor.

Exceptions

exception condition
ArgumentNullException One of the required arguments is null.

See Also