Ejemplo n.º 1
0
        public BundleManager(
            IOptions <AbpBundlingOptions> options,
            IOptions <AbpBundleContributorOptions> contributorOptions,
            IScriptBundler scriptBundler,
            IStyleBundler styleBundler,
            IWebHostEnvironment hostingEnvironment,
            IServiceProvider serviceProvider,
            IDynamicFileProvider dynamicFileProvider,
            IBundleCache bundleCache,
            IWebContentFileProvider webContentFileProvider,
            IWebRequestResources requestResources)
        {
            Options                = options.Value;
            ContributorOptions     = contributorOptions.Value;
            HostingEnvironment     = hostingEnvironment;
            ScriptBundler          = scriptBundler;
            ServiceProvider        = serviceProvider;
            DynamicFileProvider    = dynamicFileProvider;
            BundleCache            = bundleCache;
            WebContentFileProvider = webContentFileProvider;
            RequestResources       = requestResources;
            StyleBundler           = styleBundler;

            Logger = NullLogger <BundleManager> .Instance;
        }
Ejemplo n.º 2
0
        protected BundlerBase(
            IWebHostEnvironment hostEnvironment,
            IMinifier minifier,
            IOptions <AbpBundlingOptions> bundlingOptions)
        {
            HostEnvironment = hostEnvironment;
            Minifier        = minifier;
            BundlingOptions = bundlingOptions.Value;

            Logger = NullLogger <BundlerBase> .Instance;
        }