Closed HypeillingerChillinger closed 1 year ago
In RegisterInstance a reuse is probably missing. What if I wanted to use an interface with RegisterInstance but different implementations and scoped for different Reuse.ScopedForService?
RegisterInstance
Reuse.ScopedForService
Mm, you can try to use a RegisterDelegate for this matter. Just return your instance from the delegate.
Ok, thanks
In
RegisterInstance
a reuse is probably missing. What if I wanted to use an interface withRegisterInstance
but different implementations and scoped for differentReuse.ScopedForService
?