Dependency Injection
Injectable services, lifetimes and scopes, typed keys, and providers.
- Inject Services
Make a class injectable, take dependencies in the constructor, and keep logic out of handlers.
- Lifetimes and Scopes
How long an instance lives, and why each platform event gets its own container.
- Typed Keys and Providers
Inject values and interfaces (not just classes) with TypedInjectionKey and @Provider.