maliming
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
docs/en/Dependency-Injection.md
|
|
|
@ -61,7 +61,7 @@ Some specific types are registered to dependency injection by default. Examples: |
|
|
|
* MVC view components (inherit ``ViewComponent`` or ``AbpViewComponent``) are registered as transient. |
|
|
|
* Application services (inherit ``ApplicationService`` class or its subclasses) are registered as transient. |
|
|
|
* Repositories (implement ``BasicRepositoryBase`` class or its subclasses) are registered as transient. |
|
|
|
* Domain services (implement ``IDomainService`` interface) are registered as transient. |
|
|
|
* Domain services (implement ``IDomainService`` interface or inherit ``DomainService`` class) are registered as transient. |
|
|
|
|
|
|
|
Example: |
|
|
|
|
|
|
|
|