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
660 times
Add to favorites
E-mail Twitter del.icio.us Digg Facebook