Cyril-hcj
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
docs/zh-Hans/Application-Services.md
|
|
|
@ -87,7 +87,7 @@ public class CreateBookDto |
|
|
|
} |
|
|
|
``` |
|
|
|
|
|
|
|
有关DTO更的教程,请参见[数据传输对象文档](Entities.md) |
|
|
|
有关DTO更多的教程,请参见[数据传输对象文档](Entities.md) |
|
|
|
|
|
|
|
### BookAppService(实现) |
|
|
|
|
|
|
|
@ -330,7 +330,7 @@ public class BookAppService : |
|
|
|
} |
|
|
|
```` |
|
|
|
|
|
|
|
`CrudAppService`实现了`ICrudAppService`接口中声明的所有方法. 然后,你可以添加自己的自定义方法或覆盖和自定义实现. |
|
|
|
`CrudAppService`实现了`ICrudAppService`接口中声明的所有方法. 然后,你可以添加自己的自定义方法或重写和自定义实现. |
|
|
|
|
|
|
|
> `CrudAppService` 有不同数量泛型参数的版本,你可以选择适合的使用. |
|
|
|
|
|
|
|
@ -380,4 +380,4 @@ public class DistrictKey |
|
|
|
|
|
|
|
### 生命周期 |
|
|
|
|
|
|
|
应用服务的生命周期是[transient](Dependency-Injection)的,它们会自动注册到依赖注入系统. |
|
|
|
应用服务的生命周期是[transient](Dependency-Injection)的,它们会自动注册到依赖注入系统. |
|
|
|
|