浏览代码

rename method.

master
Savorboard 7 年前
父节点
当前提交
c1db4267b2
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      src/DotNetCore.CAP/CAP.ServiceCollectionExtensions.cs

+ 2
- 2
src/DotNetCore.CAP/CAP.ServiceCollectionExtensions.cs 查看文件

@@ -32,7 +32,7 @@ namespace Microsoft.Extensions.DependencyInjection
services.TryAddSingleton<CapMarkerService>();
services.Configure(setupAction);

AddConsumerServices(services);
AddSubscribeServices(services);

services.TryAddSingleton<IConsumerServiceSelector, DefaultConsumerServiceSelector>();
services.TryAddSingleton<IModelBinder, DefaultModelBinder>();
@@ -65,7 +65,7 @@ namespace Microsoft.Extensions.DependencyInjection
return new CapBuilder(services);
}

private static void AddConsumerServices(IServiceCollection services)
private static void AddSubscribeServices(IServiceCollection services)
{
var consumerListenerServices = new Dictionary<Type, Type>();
foreach (var rejectedServices in services)


正在加载...
取消
保存