瀏覽代碼

Refactor

master
alexinea 7 年之前
父節點
當前提交
0355ee409d
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. +1
    -3
      src/DotNetCore.CAP/CAP.ServiceCollectionExtensions.cs

+ 1
- 3
src/DotNetCore.CAP/CAP.ServiceCollectionExtensions.cs 查看文件

@@ -23,9 +23,7 @@ namespace Microsoft.Extensions.DependencyInjection
/// <returns>An <see cref="CapBuilder"/> for application services.</returns>
public static CapBuilder AddCap(this IServiceCollection services)
{
services.AddCap(x => new CapOptions());

return new CapBuilder(services);
return services.AddCap(x => new CapOptions());
}

/// <summary>


Loading…
取消
儲存