From 4300a80e3cc6a4f1f755cf57c0289c72f354b300 Mon Sep 17 00:00:00 2001 From: maliming Date: Fri, 4 Jun 2021 10:44:55 +0800 Subject: [PATCH 1/4] 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: From 1597ba44291b6417eb038fe239a0ab05284fe74b Mon Sep 17 00:00:00 2001 From: maliming Date: Fri, 4 Jun 2021 10:47:12 +0800 Subject: [PATCH 2/4] Update Dependency-Injection.md --- docs/en/Dependency-Injection.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/en/Dependency-Injection.md b/docs/en/Dependency-Injection.md index ee739a0880..35bb19f5cc 100644 --- a/docs/en/Dependency-Injection.md +++ b/docs/en/Dependency-Injection.md @@ -60,6 +60,7 @@ Some specific types are registered to dependency injection by default. Examples: * MVC page models (inherit ``PageModel`` or ``AbpPageModel``) are registered as transient. * MVC view components (inherit ``ViewComponent`` or ``AbpViewComponent``) are registered as transient. * Application services (inherit ``ApplicationService`` class) are registered as transient. +* Repositories (implement ``BasicRepositoryBase`` class or its subclasses) are registered as transient. * Domain services (implement ``IDomainService`` interface) are registered as transient. Example: From f13340a1c6ada8464c8615fb93eec783902d1c7b Mon Sep 17 00:00:00 2001 From: maliming Date: Fri, 4 Jun 2021 10:48:03 +0800 Subject: [PATCH 3/4] Update Dependency-Injection.md --- docs/en/Dependency-Injection.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/Dependency-Injection.md b/docs/en/Dependency-Injection.md index 35bb19f5cc..e5ad10aa93 100644 --- a/docs/en/Dependency-Injection.md +++ b/docs/en/Dependency-Injection.md @@ -59,7 +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 (inherit ``ApplicationService`` class) 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. From 713953a2a85a10c21696a232184336817afbf320 Mon Sep 17 00:00:00 2001 From: maliming Date: Fri, 4 Jun 2021 13:40:07 +0800 Subject: [PATCH 4/4] Update Dependency-Injection.md --- docs/en/Dependency-Injection.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/Dependency-Injection.md b/docs/en/Dependency-Injection.md index e5ad10aa93..f4398488e5 100644 --- a/docs/en/Dependency-Injection.md +++ b/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: