소스 검색

add notes to readme.

master
Savorboard 6 년 전
부모
커밋
63f137c6cb
2개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. +2
    -2
      README.md
  2. +2
    -2
      README.zh-cn.md

+ 2
- 2
README.md 파일 보기

@@ -187,10 +187,10 @@ Then inject your `ISubscriberService` class in Startup.cs
```c#
public void ConfigureServices(IServiceCollection services)
{
//Note: The injection of services needs before of `services.AddCap(x=>{});`
//Note: The injection of services needs before of `services.AddCap()`
services.AddTransient<ISubscriberService,SubscriberService>();
services.AddCap(x=>{});
services.AddCap(x=>{});
}
```



+ 2
- 2
README.zh-cn.md 파일 보기

@@ -187,10 +187,10 @@ namespace xxx.Service
```c#
public void ConfigureServices(IServiceCollection services)
{
//注意: 注入的服务需要在 `services.AddCap(x=>{});` 之前
//注意: 注入的服务需要在 `services.AddCap()` 之前
services.AddTransient<ISubscriberService,SubscriberService>();
services.AddCap(x=>{});
services.AddCap(x=>{});
}
```



불러오는 중...
취소
저장