From 0196fc0174c85fe73969d1465c32ffeb21be634c Mon Sep 17 00:00:00 2001 From: berkansasmaz Date: Tue, 14 Apr 2020 03:09:15 +0300 Subject: [PATCH 1/2] docs: IdentityUserAppService is a class, so ExposeServices attribute has been added. --- docs/en/Customizing-Application-Modules-Overriding-Services.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/en/Customizing-Application-Modules-Overriding-Services.md b/docs/en/Customizing-Application-Modules-Overriding-Services.md index d58f0f85654..7b8b156453f 100644 --- a/docs/en/Customizing-Application-Modules-Overriding-Services.md +++ b/docs/en/Customizing-Application-Modules-Overriding-Services.md @@ -60,6 +60,7 @@ In most cases, you will want to change one or a few methods of the current imple ````csharp [Dependency(ReplaceServices = true)] +[ExposeServices(typeof(IdentityUserAppService))] public class MyIdentityUserAppService : IdentityUserAppService { //... From c19afe61e44aff88e2657a086d9bebf25f5f947b Mon Sep 17 00:00:00 2001 From: Berkan Sasmaz Date: Tue, 14 Apr 2020 14:49:37 +0300 Subject: [PATCH 2/2] Updated ExposeServices attribute. --- .../en/Customizing-Application-Modules-Overriding-Services.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/Customizing-Application-Modules-Overriding-Services.md b/docs/en/Customizing-Application-Modules-Overriding-Services.md index 7b8b156453f..7f0c0502eae 100644 --- a/docs/en/Customizing-Application-Modules-Overriding-Services.md +++ b/docs/en/Customizing-Application-Modules-Overriding-Services.md @@ -60,7 +60,7 @@ In most cases, you will want to change one or a few methods of the current imple ````csharp [Dependency(ReplaceServices = true)] -[ExposeServices(typeof(IdentityUserAppService))] +[ExposeServices(typeof(IIdentityUserAppService), typeof(IdentityUserAppService))] public class MyIdentityUserAppService : IdentityUserAppService { //... @@ -263,4 +263,4 @@ See [Overriding the User Interface](Customizing-Application-Modules-Overriding-U ## How to Find the Services? -[Module documents](Modules/Index.md) includes the list of the major services they define. In addition, you can investigate [their source code](https://github.com/abpframework/abp/tree/dev/modules) to explore all the services. \ No newline at end of file +[Module documents](Modules/Index.md) includes the list of the major services they define. In addition, you can investigate [their source code](https://github.com/abpframework/abp/tree/dev/modules) to explore all the services.