mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.1 KiB
34 lines
1.1 KiB
using Localization.Resources.AbpUi;
|
|
using Volo.Abp.AspNetCore.Components.Web.Theming;
|
|
using Volo.Abp.FeatureManagement.Blazor.Settings;
|
|
using Volo.Abp.FeatureManagement.Localization;
|
|
using Volo.Abp.Features;
|
|
using Volo.Abp.Localization;
|
|
using Volo.Abp.Modularity;
|
|
using Volo.Abp.SettingManagement.Blazor;
|
|
|
|
namespace Volo.Abp.FeatureManagement.Blazor;
|
|
|
|
[DependsOn(
|
|
typeof(AbpAspNetCoreComponentsWebThemingModule),
|
|
typeof(AbpFeatureManagementApplicationContractsModule),
|
|
typeof(AbpFeaturesModule),
|
|
typeof(AbpSettingManagementBlazorModule)
|
|
)]
|
|
public class AbpFeatureManagementBlazorModule : AbpModule
|
|
{
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
{
|
|
Configure<SettingManagementComponentOptions>(options =>
|
|
{
|
|
options.Contributors.Add(new FeatureSettingManagementComponentContributor());
|
|
});
|
|
|
|
Configure<AbpLocalizationOptions>(options =>
|
|
{
|
|
options.Resources
|
|
.Get<AbpFeatureManagementResource>()
|
|
.AddBaseTypes(typeof(AbpUiResource));
|
|
});
|
|
}
|
|
}
|
|
|