From 4300a80e3cc6a4f1f755cf57c0289c72f354b300 Mon Sep 17 00:00:00 2001 From: maliming Date: Fri, 4 Jun 2021 10:44:55 +0800 Subject: [PATCH] Update Dependency-Injection.md Resolve #9232 Related: https://github.com/abpframework/abp/issues/364 https://github.com/abpframework/abp/commit/4c04931b63667497e536d965e49f890c91fd4c8f --- docs/en/Dependency-Injection.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/en/Dependency-Injection.md b/docs/en/Dependency-Injection.md index f94901ad84..ee739a0880 100644 --- a/docs/en/Dependency-Injection.md +++ b/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: