Ver código fonte

remove unused code.

master
yangxiaodong 7 anos atrás
pai
commit
c4c69a5d14
1 arquivos alterados com 0 adições e 11 exclusões
  1. +0
    -11
      src/DotNetCore.CAP/CAP.Builder.cs

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

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


Carregando…
Cancelar
Salvar