Hi All,
Can any one please guide me or post link where I can see how to inject an abstract class in .NET core?
Thanks in Advance!!!
Hi All,
Can any one please guide me or post link where I can see how to inject an abstract class in .NET core?
Thanks in Advance!!!
For further actions, you may consider blocking this person and/or reporting abuse
Anastasiia Ogneva -
michael matos -
Hire Laravel Developers -
Main -
Top comments (1)
You can’t use directly abstract class, there for the name :)
Make an class that inherits this abstract class.
Now add you class to DI, add you class to constructor where you are trying to inject it.