Browse Source

Update Dependency-Injection.md

Resolve #9232

Related:
https://github.com/abpframework/abp/issues/364
4c04931b63
pull/9237/head
maliming 5 years ago
committed by GitHub
parent
commit
4300a80e3c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      docs/en/Dependency-Injection.md

3
docs/en/Dependency-Injection.md

@ -59,8 +59,7 @@ Some specific types are registered to dependency injection by default. Examples:
* MVC controllers (inherit ``Controller`` or ``AbpController``) are registered as transient.
* MVC page models (inherit ``PageModel`` or ``AbpPageModel``) are registered as transient.
* MVC view components (inherit ``ViewComponent`` or ``AbpViewComponent``) are registered as transient.
* Application services (implement ``IApplicationService`` interface or inherit ``ApplicationService`` class) are registered as transient.
* Repositories (implement ``IRepository`` interface) are registered as transient.
* Application services (inherit ``ApplicationService`` class) are registered as transient.
* Domain services (implement ``IDomainService`` interface) are registered as transient.
Example:

Loading…
Cancel
Save