From c4c69a5d145b34bcbebc2d48363de7a01f1da9c8 Mon Sep 17 00:00:00 2001 From: yangxiaodong Date: Mon, 17 Jul 2017 18:30:01 +0800 Subject: [PATCH] remove unused code. --- src/DotNetCore.CAP/CAP.Builder.cs | 11 ----------- 1 file changed, 11 deletions(-) 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 . ///