Consuming scoped dependencies from commands? #1377
Answered
by
nils-a
WurliMonkhaven
asked this question in
Q&A
-
Hi folks. I'm using .NET's generic host stuff to handle my DI. I was wondering if anyone knew a way I could register and consume scoped dependencies from commands? I have a large enterprise app I'm trying to hack this to work with and it has some scoped dependencies. |
Beta Was this translation helpful? Give feedback.
Answered by
nils-a
Nov 26, 2023
Replies: 1 comment 2 replies
-
Since we do not support DI any containers directly, but rather enable adapters for DI containers, this would entirely depend on the adapter you are using. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
patriksvensson
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since we do not support DI any containers directly, but rather enable adapters for DI containers, this would entirely depend on the adapter you are using.