Pārlūkot izejas kodu

remove unused code.

master
yangxiaodong pirms 7 gadiem
vecāks
revīzija
c4c69a5d14
1 mainītis faili ar 0 papildinājumiem un 11 dzēšanām
  1. +0
    -11
      src/DotNetCore.CAP/CAP.Builder.cs

+ 0
- 11
src/DotNetCore.CAP/CAP.Builder.cs Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt