Explorar el Código

rename method.

master
Savorboard hace 7 años
padre
commit
c1db4267b2
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      src/DotNetCore.CAP/CAP.ServiceCollectionExtensions.cs

+ 2
- 2
src/DotNetCore.CAP/CAP.ServiceCollectionExtensions.cs Ver fichero

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


Cargando…
Cancelar
Guardar