From bea9544399dad82c5b3a678a7eeb6ecc6db9b150 Mon Sep 17 00:00:00 2001 From: cKey <35512826+colinin@users.noreply.github.com> Date: Thu, 21 May 2020 21:32:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BC=95=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 ++ .../DotNetCore/CAP/ConsumerServiceSelector.cs | 7 +++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6a72ecb58..f5b5cd661 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,8 @@ [abpframework/abp](https://github.com/abpframework/abp) (abp vNext) +[EasyAbp/Cap](https://github.com/EasyAbp/Abp.EventBus.CAP) (EasyAbp) + Typescript 版本: [Armour/vue-typescript-admin-mock-server](https://github.com/armour/vue-typescript-admin-mock-server) (mock server for this project) diff --git a/aspnet-core/modules/common/LINGYUN.Abp.EventBus.CAP/DotNetCore/CAP/ConsumerServiceSelector.cs b/aspnet-core/modules/common/LINGYUN.Abp.EventBus.CAP/DotNetCore/CAP/ConsumerServiceSelector.cs index 1effbf67a..89f3b75a6 100644 --- a/aspnet-core/modules/common/LINGYUN.Abp.EventBus.CAP/DotNetCore/CAP/ConsumerServiceSelector.cs +++ b/aspnet-core/modules/common/LINGYUN.Abp.EventBus.CAP/DotNetCore/CAP/ConsumerServiceSelector.cs @@ -1,5 +1,4 @@ -using DotNetCore.CAP; -using DotNetCore.CAP.Internal; +using DotNetCore.CAP.Internal; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; using System; @@ -10,12 +9,12 @@ using Volo.Abp.DependencyInjection; using Volo.Abp.EventBus; using Volo.Abp.EventBus.Distributed; -namespace EasyAbp.Abp.EventBus.Cap +namespace DotNetCore.CAP { [Dependency(ServiceLifetime.Singleton, ReplaceServices = true)] [ExposeServices(typeof(IConsumerServiceSelector), typeof(ConsumerServiceSelector))] - public class ConsumerServiceSelector : DotNetCore.CAP.Internal.ConsumerServiceSelector + public class ConsumerServiceSelector : Internal.ConsumerServiceSelector { protected AbpDistributedEventBusOptions AbpDistributedEventBusOptions { get; } protected IServiceProvider ServiceProvider { get; }