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.
32 lines
1.1 KiB
32 lines
1.1 KiB
using Lion.AbpPro.Core;
|
|
|
|
namespace Lion.AbpPro.NotificationManagement
|
|
{
|
|
[DependsOn(
|
|
typeof(AbpValidationModule),
|
|
typeof(AbpProCoreModule)
|
|
)]
|
|
public class NotificationManagementDomainSharedModule : AbpModule
|
|
{
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
{
|
|
Configure<AbpVirtualFileSystemOptions>(options =>
|
|
{
|
|
options.FileSets.AddEmbedded<NotificationManagementDomainSharedModule>();
|
|
});
|
|
|
|
Configure<AbpLocalizationOptions>(options =>
|
|
{
|
|
options.Resources
|
|
.Add<NotificationManagementResource>(NotificationManagementConsts.DefaultCultureName)
|
|
.AddBaseTypes(typeof(AbpValidationResource))
|
|
.AddVirtualJson("/Localization/NotificationManagement");
|
|
});
|
|
|
|
Configure<AbpExceptionLocalizationOptions>(options =>
|
|
{
|
|
options.MapCodeNamespace(NotificationManagementConsts.NameSpace, typeof(NotificationManagementResource));
|
|
});
|
|
}
|
|
}
|
|
}
|
|
|