Skip to content

Something wrong with scopes resolution #443

Answered by dadhi
Serg046 asked this question in Q&A
Discussion options

You must be logged in to vote

@Serg046 Instead of container.RegisterDelegate<I>(() => a, Reuse.ScopedTo(a)); try the scope.Use<I>(() => a)

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Serg046
Comment options

Answer selected by Serg046
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #442 on December 17, 2021 13:13.