From 920257f8ff93eafe55769b92f0eb216d528a0984 Mon Sep 17 00:00:00 2001 From: Hsu Still <341464@gmail.com> Date: Wed, 27 Sep 2017 04:48:13 +0800 Subject: [PATCH] Change "inherits" to "inherit" --- docs/guides/commands/commands.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/guides/commands/commands.md b/docs/guides/commands/commands.md index 049ed0aee..f66a2a965 100644 --- a/docs/guides/commands/commands.md +++ b/docs/guides/commands/commands.md @@ -61,6 +61,7 @@ class from [ModuleBase]. This class **must** be `public`. >extension of ModuleBase. By now, your module should look like this: + [!code-csharp[Empty Module](samples/empty-module.cs)] [IoC]: https://msdn.microsoft.com/en-us/library/ff921087.aspx @@ -146,7 +147,7 @@ At this point, your module should look comparable to this example: #### Loading Modules Automatically The Command Service can automatically discover all classes in an -Assembly that inherits [ModuleBase] and load them. +Assembly that inherit [ModuleBase] and load them. To opt a module out of auto-loading, flag it with [DontAutoLoadAttribute].