Przeglądaj źródła

rename method.

master
Savorboard 7 lat temu
rodzic
commit
c1db4267b2
1 zmienionych plików z 2 dodań i 2 usunięć
  1. +2
    -2
      src/DotNetCore.CAP/CAP.ServiceCollectionExtensions.cs

+ 2
- 2
src/DotNetCore.CAP/CAP.ServiceCollectionExtensions.cs Wyświetl plik

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


Ładowanie…
Anuluj
Zapisz