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.
26 lines
773 B
26 lines
773 B
using Volo.Abp.SettingManagement;
|
|
|
|
namespace Lion.AbpPro.LanguageManagement
|
|
{
|
|
[DependsOn(
|
|
typeof(AbpDddDomainModule),
|
|
typeof(LanguageManagementDomainSharedModule),
|
|
typeof(AbpCachingModule),
|
|
typeof(AbpAutoMapperModule),
|
|
typeof(AbpSettingManagementDomainModule)
|
|
)]
|
|
public class LanguageManagementDomainModule : AbpModule
|
|
{
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
{
|
|
Configure<AbpLocalizationOptions>(options =>
|
|
{
|
|
options.AddDynamicResource();
|
|
});
|
|
Configure<AbpAutoMapperOptions>(options =>
|
|
{
|
|
options.AddMaps<LanguageManagementDomainModule>();
|
|
});
|
|
}
|
|
}
|
|
}
|