From bfb364228b6fb3b5508ac86373ccd067fb7ba017 Mon Sep 17 00:00:00 2001 From: Halil ibrahim Kalkan Date: Fri, 7 Sep 2018 17:35:58 +0300 Subject: [PATCH] Don't use IAbpModule --- .../Volo/Abp/AspNetCore/AbpAspNetCoreModule.cs | 4 ++-- .../Volo/Abp/Modularity/ModuleLoader_Tests.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/framework/src/Volo.Abp.AspNetCore/Volo/Abp/AspNetCore/AbpAspNetCoreModule.cs b/framework/src/Volo.Abp.AspNetCore/Volo/Abp/AspNetCore/AbpAspNetCoreModule.cs index 217691b909..6fbe70f25f 100644 --- a/framework/src/Volo.Abp.AspNetCore/Volo/Abp/AspNetCore/AbpAspNetCoreModule.cs +++ b/framework/src/Volo.Abp.AspNetCore/Volo/Abp/AspNetCore/AbpAspNetCoreModule.cs @@ -27,9 +27,9 @@ namespace Volo.Abp.AspNetCore typeof(AbpUiModule), //TODO: Can we remove this? typeof(AbpValidationModule) )] - public class AbpAspNetCoreModule : IAbpModule + public class AbpAspNetCoreModule : AbpModule { - public void ConfigureServices(ServiceConfigurationContext context) + public override void ConfigureServices(ServiceConfigurationContext context) { context.Services.Configure(options => { diff --git a/framework/test/Volo.Abp.Core.Tests/Volo/Abp/Modularity/ModuleLoader_Tests.cs b/framework/test/Volo.Abp.Core.Tests/Volo/Abp/Modularity/ModuleLoader_Tests.cs index c1b6c9f23d..3541f9b78e 100644 --- a/framework/test/Volo.Abp.Core.Tests/Volo/Abp/Modularity/ModuleLoader_Tests.cs +++ b/framework/test/Volo.Abp.Core.Tests/Volo/Abp/Modularity/ModuleLoader_Tests.cs @@ -18,9 +18,9 @@ namespace Volo.Abp.Modularity } [DependsOn(typeof(IndependentEmptyModule))] - public class MyStartupModule : IAbpModule + public class MyStartupModule : AbpModule { - public void ConfigureServices(ServiceConfigurationContext context) + public override void ConfigureServices(ServiceConfigurationContext context) { }