浏览代码

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>


正在加载...
取消
保存