Home-made Private Accessor for Visual Studio 2012+

Starting with Visual Studio 2012, private accessors cannot be created by the IDE any more. This sample offers a ready-to-use generic base class to ease and simplify the creation of private accessors, making unit tests type safe again and hiding the use of the PrivateObject class.

C# (61.1 KB)
 
 
 
 
 
3 Star
(1)
658 times
Add to favorites
9/23/2013
E-mail Twitter del.icio.us Digg Facebook