From ac8c1330ace801160c985c5e7acc02c0cc47eda8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Wed, 13 Apr 2022 19:21:17 +0300 Subject: [PATCH] Added more info for add-module command --- docs/en/Customizing-Application-Modules-Guide.md | 2 +- docs/en/Customizing-Application-Modules-Overriding-Services.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/en/Customizing-Application-Modules-Guide.md b/docs/en/Customizing-Application-Modules-Guide.md index b62d4e5bb7..4fe3c71dbe 100644 --- a/docs/en/Customizing-Application-Modules-Guide.md +++ b/docs/en/Customizing-Application-Modules-Guide.md @@ -31,7 +31,7 @@ If you don't think to make huge changes on the pre-built modules, re-using them If you want to make **huge changes** or add **major features** on a pre-built module, but the available extension points are not enough, you can consider to directly work the source code of the depended module. -In this case, you typically **add the source code** of the module to your solution and replace **every** package reference in the solution with its corresponding local project references. **[ABP CLI](CLI.md)** automates this process for you. +In this case, you typically **add the source code** of the module to your solution and replace **every** package reference in the solution with its corresponding local project references. **[ABP CLI](CLI.md)**'s `add-module` command automates this process for you with the `--with-source-code` parameter. This command can also replace a module by its source code if the module already installed as NuGet packages. #### Separating the Module Solution diff --git a/docs/en/Customizing-Application-Modules-Overriding-Services.md b/docs/en/Customizing-Application-Modules-Overriding-Services.md index 081b142ad7..fd42d4cfde 100644 --- a/docs/en/Customizing-Application-Modules-Overriding-Services.md +++ b/docs/en/Customizing-Application-Modules-Overriding-Services.md @@ -205,7 +205,8 @@ If you don't want to remove either controller, you can configure `AbpAspNetCoreM ```csharp Configure(options => { - options.IgnoredControllersOnModelExclusion.AddIfNotContains(typeof(MyAccountController)); + options.IgnoredControllersOnModelExclusion + .AddIfNotContains(typeof(MyAccountController)); }); ```