You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wonder if this is as designed and if it is can you explain a work around please? I am trying to DI my services into a base class and I want the derived implementations to also have those services injected.
Is this possible? Sorry for the wording its late and its been a busy week,
I have tried it as virtual and non virtual. I have tried calling the base init and not. Nothing seems to call the Init Method and the services are always null.
I wonder if this is as designed and if it is can you explain a work around please? I am trying to DI my services into a base class and I want the derived implementations to also have those services injected.
Is this possible? Sorry for the wording its late and its been a busy week,
I have tried it as virtual and non virtual. I have tried calling the base init and not. Nothing seems to call the Init Method and the services are always null.
Base class:
Derived class
The text was updated successfully, but these errors were encountered: