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
824 B
26 lines
824 B
using Volo.Abp.Identity.Localization; |
|
using Volo.Abp.Localization; |
|
using Volo.Abp.Modularity; |
|
using Volo.Abp.VirtualFileSystem; |
|
|
|
namespace Sanhe.Abp.Identity |
|
{ |
|
[DependsOn(typeof(Volo.Abp.Identity.AbpIdentityDomainSharedModule))] |
|
public class AbpIdentityDomainSharedModule : AbpModule |
|
{ |
|
public override void ConfigureServices(ServiceConfigurationContext context) |
|
{ |
|
Configure<AbpVirtualFileSystemOptions>(options => |
|
{ |
|
options.FileSets.AddEmbedded<AbpIdentityDomainSharedModule>(); |
|
}); |
|
|
|
Configure<AbpLocalizationOptions>(options => |
|
{ |
|
options.Resources |
|
.Get<IdentityResource>() |
|
.AddVirtualJson("/Sanhe/Abp/Identity/Localization"); |
|
}); |
|
} |
|
} |
|
}
|
|
|