Browse Source

Add comment about the ServiceProviderFactory in the quickstart

pull/934/head
Joe4evr 7 years ago
parent
commit
81bd9111fa
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      docs/guides/getting_started/samples/intro/structure.cs

+ 3
- 0
docs/guides/getting_started/samples/intro/structure.cs View File

@@ -48,6 +48,9 @@ class Program
// Setup your DI container.
ServiceProvider = ConfigureServices(),
// If you have a service that's dependant on the CommandService instance,
// use ServiceProviderFactory instead.
//ServiceProviderFactory = (cs => ConfigureServices(cs)),
// There's a few more properties you can set,
// for example, case-insensitive commands.


Loading…
Cancel
Save