diff --git a/src/DotNetCore.CAP/CAP.Builder.cs b/src/DotNetCore.CAP/CAP.Builder.cs index 6214c12..e9cf165 100644 --- a/src/DotNetCore.CAP/CAP.Builder.cs +++ b/src/DotNetCore.CAP/CAP.Builder.cs @@ -34,17 +34,6 @@ namespace DotNetCore.CAP return this; } - /// - /// Adds a singleton service of the type specified in serviceType with an implementation - /// - private CapBuilder AddSingleton() - where TService : class - where TImplementation : class, TService - { - Services.AddSingleton(); - return this; - } - /// /// Add an . ///