Respond to feedback.

This commit is contained in:
Joe4evr
2017-06-13 10:58:06 +02:00
committed by GitHub
parent 6cdc48bfa6
commit b0a3ce5e7c

View File

@@ -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<SomeModule>();