Preview: Placeholder arguments and custom argument checkers
here is a glimpse of the feature the guys are working on at the moment. I call it “Placeholder Arguments”. It’s a variation of the “how do you allow the user to check parameters passed to a method?” question when working with isolation frameworks. We implemented a suggestion from Vagif Abilov, one of our Typemock Insiders.
The idea is pretty elegant, really – allow the user to define (inside the lambda expression) ”placeholder” arguments, that can then be checked in a custom delegate provided by the user. Then, you can call the method with a combination of “real” and “placeholder” arguments, and “real” ones will not be checked by default. Only the placeholder ones can then be used in the custom argument matcher the user provides.
This should be out in the coming weeks.