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.
36 lines
1.2 KiB
36 lines
1.2 KiB
using Volo.Abp.FeatureManagement.Localization;
|
|
using Volo.Abp.Features;
|
|
using Volo.Abp.Localization;
|
|
using Volo.Abp.Localization.ExceptionHandling;
|
|
using Volo.Abp.Modularity;
|
|
using Volo.Abp.VirtualFileSystem;
|
|
|
|
namespace Volo.Abp.FeatureManagement
|
|
{
|
|
[DependsOn(
|
|
typeof(AbpFeatureManagementDomainSharedModule),
|
|
typeof(AbpFeaturesModule)
|
|
)]
|
|
public class AbpFeatureManagementDomainModule : AbpModule
|
|
{
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
{
|
|
Configure<VirtualFileSystemOptions>(options =>
|
|
{
|
|
options.FileSets.AddEmbedded<AbpFeatureManagementDomainModule>();
|
|
});
|
|
|
|
Configure<AbpLocalizationOptions>(options =>
|
|
{
|
|
options.Resources
|
|
.Get<AbpFeatureManagementResource>()
|
|
.AddVirtualJson("/Volo/Abp/FeatureManagement/Localization/Domain");
|
|
});
|
|
|
|
Configure<ExceptionLocalizationOptions>(options =>
|
|
{
|
|
options.MapCodeNamespace("AbpFeatureManagement", typeof(AbpFeatureManagementResource));
|
|
});
|
|
}
|
|
}
|
|
}
|
|
|