From 44bec406acd6cb9eeb042aed75f40caede96ea08 Mon Sep 17 00:00:00 2001 From: Hsu Still <341464@gmail.com> Date: Wed, 27 Sep 2017 16:55:49 +0800 Subject: [PATCH] Wrap [DontInject] in code block --- docs/guides/commands/commands.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/guides/commands/commands.md b/docs/guides/commands/commands.md index 1bda54e79..d537d2c0a 100644 --- a/docs/guides/commands/commands.md +++ b/docs/guides/commands/commands.md @@ -228,13 +228,13 @@ Any publicly settable properties will also be filled in the same manner. >[!NOTE] -> Annotating a property with the [DontInject] attribute will -prevent it from being injected. +> Annotating a property with a `[DontInject]` attribute will prevent the +property from being injected. >[!NOTE] >If you accept `CommandService` or `IServiceProvider` as a parameter -in your constructor, or as an injectable property, these entries will -be filled by the `CommandService` that the Module is loaded from, and +in your constructor or as an injectable property, these entries will +be filled by the `CommandService` that the Module is loaded from and the `ServiceProvider` that is passed into it respectively. [!code-csharp[ServiceProvider in Modules](samples/dependency_module.cs)]