-
-
Notifications
You must be signed in to change notification settings - Fork 532
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to access TypeRegistrar() ??? #1285
Comments
The two paragraphs after your screenshot should point you in the right direction. Implementation for each container is going to look different so we leave it up to the user you provide it There are a handful of nuget packages out there that implement it for different containers too if you go looking. |
@dlandi - there is an example implementation of DI located here: https://github.com/spectreconsole/examples/tree/main/examples/Cli/Injection, including implementations of TypeRegister/Resolver within the |
This code on your documentation doesn't work because type registrar is an internal sealed class.
How do use the registrar dependency injection?
The text was updated successfully, but these errors were encountered: