From b0a3ce5e7cd600ce32f7c8cd98e9ae59bc10e5bc Mon Sep 17 00:00:00 2001 From: Joe4evr Date: Tue, 13 Jun 2017 10:58:06 +0200 Subject: [PATCH] Respond to feedback. --- docs/guides/getting_started/samples/intro/structure.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/guides/getting_started/samples/intro/structure.cs b/docs/guides/getting_started/samples/intro/structure.cs index 000ee2d02..706d0a38d 100644 --- a/docs/guides/getting_started/samples/intro/structure.cs +++ b/docs/guides/getting_started/samples/intro/structure.cs @@ -104,7 +104,8 @@ class Program // you haven't made any mistakes in your dependency graph. _services = _map.BuildServiceProvider(); - // Either search the program and add all Module classes that can be found: + // Either search the program and add all Module classes that can be found. + // Module classes *must* be marked 'public' or they will be ignored. await _commands.AddModulesAsync(Assembly.GetEntryAssembly()); // Or add Modules manually if you prefer to be a little more explicit: await _commands.AddModuleAsync();