Exemple #1
0
        public BundleManager(
            IOptions <BundlingOptions> options,
            IOptions <BundleContributorOptions> 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;
        }
Exemple #2
0
        protected BundlerBase(IWebContentFileProvider webContentFileProvider, IMinifier minifier)
        {
            WebContentFileProvider = webContentFileProvider;
            Minifier = minifier;

            Logger = NullLogger <BundlerBase> .Instance;
        }
 public RocketTagHelperScriptService(
     IBundleManager bundleManager,
     IWebContentFileProvider webContentFileProvider,
     IOptions <RocketBundlingOptions> options,
     IWebHostEnvironment hostingEnvironment
     ) : base(
         bundleManager,
         webContentFileProvider,
         options,
         hostingEnvironment)
 {
 }
 public AbpTagHelperStyleService(
     IBundleManager bundleManager,
     IWebContentFileProvider webContentFileProvider,
     IOptions <AbpBundlingOptions> options,
     IWebHostEnvironment hostingEnvironment
     ) : base(
         bundleManager,
         webContentFileProvider,
         options,
         hostingEnvironment)
 {
 }
Exemple #5
0
        protected AbpTagHelperResourceService(
            IBundleManager bundleManager,
            IWebContentFileProvider webContentFileProvider,
            IOptions <AbpBundlingOptions> options,
            IWebHostEnvironment hostingEnvironment)
        {
            BundleManager          = bundleManager;
            WebContentFileProvider = webContentFileProvider;
            HostingEnvironment     = hostingEnvironment;
            Options = options.Value;

            Logger = NullLogger <AbpTagHelperResourceService> .Instance;
        }
Exemple #6
0
 public StyleBundler(IWebContentFileProvider webContentFileProvider, ICssMinifier minifier, IHostingEnvironment hostingEnvironment)
     : base(webContentFileProvider, minifier)
 {
     _hostingEnvironment = hostingEnvironment;
 }
Exemple #7
0
 public ScriptBundler(IWebContentFileProvider webContentFileProvider, IJavascriptMinifier minifier)
     : base(webContentFileProvider, minifier)
 {
 }