Browse Source

Merge pull request #98 from colinin/3.1

rename rules module name
pull/115/head
cKey 5 years ago
committed by GitHub
parent
commit
4672a179a0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      aspnet-core/modules/common/LINGYUN.Abp.Rules/LINGYUN/Abp/Rules/AbpRulesModule.cs
  2. 6
      aspnet-core/modules/common/LINGYUN.Abp.RulesEngine/LINGYUN/Abp/RulesEngine/AbpRulesEngineModule.cs

2
aspnet-core/modules/common/LINGYUN.Abp.Rules/LINGYUN/Abp/Rules/AbpRulesEngineModule.cs → aspnet-core/modules/common/LINGYUN.Abp.Rules/LINGYUN/Abp/Rules/AbpRulesModule.cs

@ -6,7 +6,7 @@ namespace LINGYUN.Abp.Rules
{ {
[DependsOn( [DependsOn(
typeof(AbpDddDomainModule))] typeof(AbpDddDomainModule))]
public class AbpRulesEngineModule : AbpModule public class AbpRulesModule : AbpModule
{ {
public override void PreConfigureServices(ServiceConfigurationContext context) public override void PreConfigureServices(ServiceConfigurationContext context)
{ {

6
aspnet-core/modules/common/LINGYUN.Abp.RulesEngine/LINGYUN/Abp/RulesEngine/AbpMsRulesEngineModule.cs → aspnet-core/modules/common/LINGYUN.Abp.RulesEngine/LINGYUN/Abp/RulesEngine/AbpRulesEngineModule.cs

@ -6,13 +6,13 @@ using Volo.Abp.Modularity;
namespace LINGYUN.Abp.RulesEngine namespace LINGYUN.Abp.RulesEngine
{ {
[DependsOn( [DependsOn(
typeof(AbpRulesEngineModule), typeof(AbpRulesModule),
typeof(AbpAutoMapperModule))] typeof(AbpAutoMapperModule))]
public class AbpMsRulesEngineModule : AbpModule public class AbpRulesEngineModule : AbpModule
{ {
public override void ConfigureServices(ServiceConfigurationContext context) public override void ConfigureServices(ServiceConfigurationContext context)
{ {
context.Services.AddAutoMapperObjectMapper<AbpMsRulesEngineModule>(); context.Services.AddAutoMapperObjectMapper<AbpRulesEngineModule>();
Configure<AbpAutoMapperOptions>(options => Configure<AbpAutoMapperOptions>(options =>
{ {
options.AddProfile<MsRulesEngineMapperProfile>(validate: true); options.AddProfile<MsRulesEngineMapperProfile>(validate: true);
Loading…
Cancel
Save