Browse Source

Respond to feedback.

tags/1.0
Joe4evr GitHub 8 years ago
parent
commit
b0a3ce5e7c
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      docs/guides/getting_started/samples/intro/structure.cs

+ 2
- 1
docs/guides/getting_started/samples/intro/structure.cs 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>();


Loading…
Cancel
Save