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)]