Browse Source

rename method.

master
Savorboard 7 years ago
parent
commit
c1db4267b2
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/DotNetCore.CAP/CAP.ServiceCollectionExtensions.cs

+ 2
- 2
src/DotNetCore.CAP/CAP.ServiceCollectionExtensions.cs View File

@@ -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)


Loading…
Cancel
Save