Browse Source
Merge pull request #98 from colinin/3.1
rename rules module name
pull/115/head
cKey
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
4 additions and
4 deletions
-
aspnet-core/modules/common/LINGYUN.Abp.Rules/LINGYUN/Abp/Rules/AbpRulesModule.cs
-
aspnet-core/modules/common/LINGYUN.Abp.RulesEngine/LINGYUN/Abp/RulesEngine/AbpRulesEngineModule.cs
|
|
|
@ -6,7 +6,7 @@ namespace LINGYUN.Abp.Rules |
|
|
|
{ |
|
|
|
[DependsOn( |
|
|
|
typeof(AbpDddDomainModule))] |
|
|
|
public class AbpRulesEngineModule : AbpModule |
|
|
|
public class AbpRulesModule : AbpModule |
|
|
|
{ |
|
|
|
public override void PreConfigureServices(ServiceConfigurationContext context) |
|
|
|
{ |
|
|
|
@ -6,13 +6,13 @@ using Volo.Abp.Modularity; |
|
|
|
namespace LINGYUN.Abp.RulesEngine |
|
|
|
{ |
|
|
|
[DependsOn( |
|
|
|
typeof(AbpRulesEngineModule), |
|
|
|
typeof(AbpRulesModule), |
|
|
|
typeof(AbpAutoMapperModule))] |
|
|
|
public class AbpMsRulesEngineModule : AbpModule |
|
|
|
public class AbpRulesEngineModule : AbpModule |
|
|
|
{ |
|
|
|
public override void ConfigureServices(ServiceConfigurationContext context) |
|
|
|
{ |
|
|
|
context.Services.AddAutoMapperObjectMapper<AbpMsRulesEngineModule>(); |
|
|
|
context.Services.AddAutoMapperObjectMapper<AbpRulesEngineModule>(); |
|
|
|
Configure<AbpAutoMapperOptions>(options => |
|
|
|
{ |
|
|
|
options.AddProfile<MsRulesEngineMapperProfile>(validate: true); |