Explorar el Código

remove unused code.

master
yangxiaodong hace 7 años
padre
commit
c4c69a5d14
Se han modificado 1 ficheros con 0 adiciones y 11 borrados
  1. +0
    -11
      src/DotNetCore.CAP/CAP.Builder.cs

+ 0
- 11
src/DotNetCore.CAP/CAP.Builder.cs Ver fichero

@@ -34,17 +34,6 @@ namespace DotNetCore.CAP
return this;
}

/// <summary>
/// Adds a singleton service of the type specified in serviceType with an implementation
/// </summary>
private CapBuilder AddSingleton<TService, TImplementation>()
where TService : class
where TImplementation : class, TService
{
Services.AddSingleton<TService, TImplementation>();
return this;
}

/// <summary>
/// Add an <see cref="ICapPublisher"/>.
/// </summary>


Cargando…
Cancelar
Guardar