diff --git a/docs/guides/commands/samples/dependency_module.cs b/docs/guides/commands/samples/dependency_module.cs index 24009cc41..2014ed881 100644 --- a/docs/guides/commands/samples/dependency_module.cs +++ b/docs/guides/commands/samples/dependency_module.cs @@ -21,16 +21,16 @@ public class ModuleA : ModuleBase public class ModuleB : ModuleBase { - - // Public settable properties will be injected + // Public settable properties will be injected. public AnnounceService Announce { get; set; } - // Public properties without setters will not + // Public properties without setters will not be injected. public CommandService Commands { get; } // Public properties annotated with [DontInject] will not + // be injected. [DontInject] - public NotificationService { get; set; } + public NotificationService NotificationService { get; set; } public ModuleB(CommandService commands) {