Browse Source

remove unused code.

master
yangxiaodong 7 years ago
parent
commit
c4c69a5d14
1 changed files with 0 additions and 11 deletions
  1. +0
    -11
      src/DotNetCore.CAP/CAP.Builder.cs

+ 0
- 11
src/DotNetCore.CAP/CAP.Builder.cs View File

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


Loading…
Cancel
Save