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
However I can't see any way to register it. Registering it directly will lead to an infinite loop, as it will replace the implementation of IMyInterface.
Registering it as a decorator causes the eager evaluation of MyInterface.
I think this could be resolved by allowing decorators to take relationship types of the interface.
The text was updated successfully, but these errors were encountered:
I have an implementation of an interface which cannot be resolved too early in the application lifetime, and so must be resolved lazily.
Because this is used by hundreds of components, rather than use Lazy, I've created a lazy wrapper over the interface, and would like to register it.
However I can't see any way to register it. Registering it directly will lead to an infinite loop, as it will replace the implementation of
IMyInterface
.Registering it as a decorator causes the eager evaluation of MyInterface.
I think this could be resolved by allowing decorators to take relationship types of the interface.
The text was updated successfully, but these errors were encountered: