>> I would like to decorate types with a [Mockable] attribute, such that, when some switch is on, instances of these classes are 'replaced' by mock objects. <<
Have you tried a library like NMock? =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com
