Skip to content

How to generate delegates from an interface? #1390

Answered by aivascu
kuuhakuDev asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @kuuhakuDev,
Apparently this scenario was never implemented in the Moq integration. Generic methods are explicitly ignored in Moq, however in other mocking libraries integrations the situation is the opposite.

Perhaps the developers that implemented in the feature in AutoMoq couldn't do it at the time or considered it harmful. Either way I'll have to try to implement it to see if there are any blockers.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

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

Answer selected by kuuhakuDev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants