dotnet / dotnet/command-line-api
DI in GetSuggestions
Open
Area-Hosting and DI
- Dominant language
- C#
- Stars
- 3.7k
- Forks
- 428
- PR merge metrics
- No merged PRs in 30d
Description
I am using DI with the hosting package. I would like to use a service in GetSuggestions, and after looking at this at all angles I could think of, I can't figure out a way to make this work. Would someone have a hint of how this could be achieved?
The use case for having access to the host / services in GetSuggestions is for example to offer suggestions based on the configuration, or on dynamically registered services.
Contributor guide
Assessment
This issue has not been assessed yet.