瀏覽代碼

remove unused code.

master
yangxiaodong 7 年之前
父節點
當前提交
c4c69a5d14
共有 1 個檔案被更改,包括 0 行新增11 行删除
  1. +0
    -11
      src/DotNetCore.CAP/CAP.Builder.cs

+ 0
- 11
src/DotNetCore.CAP/CAP.Builder.cs 查看文件

@@ -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…
取消
儲存