This project is read-only.
Project Description
Makes it possible to access non-public methods, properties and fields in a type-safe manner. The goal is to make unit testing easier.

This is an attempt to replace private accessors from visual studio with a type-safe alternative.

Reason for this alternative is the deprecation of private accessors (Publicize ) in the early betas of visual studio 2010 and now removed in visual studio 11.

This library is able to generate a 'shadow' assembly which can completely ignore all access modifiers of methods, fields or properties.

FavourObjects can do this by accepting an interface definition which has the methods defined on it which you'd like to access. It uses this interface and a reference to an instance of the class and automatically generates a forwarding class which implements the interface and creates methods and properties which use reflection to access the methods on the 'real' object.

Last edited Mar 19, 2012 at 2:23 PM by LvZijl, version 6