Explorar el Código

add notes to readme.

master
Savorboard hace 6 años
padre
commit
7eea5e0468
Se han modificado 2 ficheros con 4 adiciones y 4 borrados
  1. +2
    -2
      README.md
  2. +2
    -2
      README.zh-cn.md

+ 2
- 2
README.md Ver fichero

@@ -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 Ver fichero

@@ -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=>{});
}
```



Cargando…
Cancelar
Guardar