BundleContributorOptions to AbpBundleContributorOptions

pull/1919/head
Yunus Emre Kalkan 5 years ago
parent e0bfc969c5
commit 3946aa4311

@ -4,11 +4,11 @@ using JetBrains.Annotations;
namespace Volo.Abp.AspNetCore.Mvc.UI.Bundling
{
public class BundleContributorOptions
public class AbpBundleContributorOptions
{
public ConcurrentDictionary<Type, BundleContributorCollection> AllExtensions { get; }
public BundleContributorOptions()
public AbpBundleContributorOptions()
{
AllExtensions = new ConcurrentDictionary<Type, BundleContributorCollection>();
}

@ -22,7 +22,7 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bundling
public ILogger<BundleManager> Logger { get; set; }
protected readonly BundlingOptions Options;
protected readonly BundleContributorOptions ContributorOptions;
protected readonly AbpBundleContributorOptions ContributorOptions;
protected readonly IWebContentFileProvider WebContentFileProvider;
protected readonly IWebHostEnvironment HostingEnvironment;
protected readonly IScriptBundler ScriptBundler;
@ -34,7 +34,7 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bundling
public BundleManager(
IOptions<BundlingOptions> options,
IOptions<BundleContributorOptions> contributorOptions,
IOptions<AbpBundleContributorOptions> contributorOptions,
IScriptBundler scriptBundler,
IStyleBundler styleBundler,
IWebHostEnvironment hostingEnvironment,

@ -68,7 +68,7 @@ namespace Volo.Docs
options.Converters[MarkdownDocumentToHtmlConverter.Type] = typeof(MarkdownDocumentToHtmlConverter);
});
Configure<BundleContributorOptions>(options =>
Configure<AbpBundleContributorOptions>(options =>
{
options
.Extensions<PrismjsStyleBundleContributor>()

Loading…
Cancel
Save