Browse Source

修复引用

pull/1/head
cKey 6 years ago
parent
commit
bea9544399
  1. 2
      README.md
  2. 7
      aspnet-core/modules/common/LINGYUN.Abp.EventBus.CAP/DotNetCore/CAP/ConsumerServiceSelector.cs

2
README.md

@ -31,6 +31,8 @@
[abpframework/abp](https://github.com/abpframework/abp) (abp vNext) [abpframework/abp](https://github.com/abpframework/abp) (abp vNext)
[EasyAbp/Cap](https://github.com/EasyAbp/Abp.EventBus.CAP) (EasyAbp)
Typescript 版本: Typescript 版本:
[Armour/vue-typescript-admin-mock-server](https://github.com/armour/vue-typescript-admin-mock-server) (mock server for this project) [Armour/vue-typescript-admin-mock-server](https://github.com/armour/vue-typescript-admin-mock-server) (mock server for this project)

7
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.DependencyInjection;
using Microsoft.Extensions.Options; using Microsoft.Extensions.Options;
using System; using System;
@ -10,12 +9,12 @@ using Volo.Abp.DependencyInjection;
using Volo.Abp.EventBus; using Volo.Abp.EventBus;
using Volo.Abp.EventBus.Distributed; using Volo.Abp.EventBus.Distributed;
namespace EasyAbp.Abp.EventBus.Cap namespace DotNetCore.CAP
{ {
[Dependency(ServiceLifetime.Singleton, ReplaceServices = true)] [Dependency(ServiceLifetime.Singleton, ReplaceServices = true)]
[ExposeServices(typeof(IConsumerServiceSelector), typeof(ConsumerServiceSelector))] [ExposeServices(typeof(IConsumerServiceSelector), typeof(ConsumerServiceSelector))]
public class ConsumerServiceSelector : DotNetCore.CAP.Internal.ConsumerServiceSelector public class ConsumerServiceSelector : Internal.ConsumerServiceSelector
{ {
protected AbpDistributedEventBusOptions AbpDistributedEventBusOptions { get; } protected AbpDistributedEventBusOptions AbpDistributedEventBusOptions { get; }
protected IServiceProvider ServiceProvider { get; } protected IServiceProvider ServiceProvider { get; }

Loading…
Cancel
Save