mikeyoon/FakeItEasyAutoMocker

duplicate ctor dependencies

Opened this issue · 1 comments

If i have a ctor like"
function_ctor(IState stateError, IState statePending) {}

AutoMocker can not see difference between those to IState

Will it be possible to have "named" arguments. aka structuremap....
/J

I think that's possible to add given the current architecture. Maybe during the setup of the container you could specify these named arguments, and the The() method could take in a string to retrieve them. Unfortunately, I can't give any timeframes on when I'd be able to add this kind of change it, since it isn't a quick fix.