Replies: 2 comments 2 replies
-
@Lasamat They are not included to not "push" users of Spectre.Console into using one or the other DI framework. The The code you referred to is one possible implementation, the Cake project, for example, uses another. |
Beta Was this translation helpful? Give feedback.
-
Might I suggest an alternative of including them in a |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
I looked at the documentation and examples for using Dependancy Injection with this library and both the example for Logging and DI use the exact same two wrapper classes to convert from Microsoft.Extensions.DependencyInjection to use with this Library.
Describe the solution you'd like
I would like to have either those two classes already in the Library or a way to simply pass the ServiceCollection in the first place.
Describe alternatives you've considered
Alternative would be to copy paste those two exact same classes for all my DI Console Apps...
Beta Was this translation helpful? Give feedback.
All reactions