Visual Studio 2010 Proxy Generator is a text template (.TT) that generates a proxy for every interface in the project. It allows, also, a easy way to implement the decorator pattern and some kind of aspect programming throught a inversion of control container.
How to Use
The Proxy Generator creates a Proxy class to every interface in the project. You only have to insert the .TT file in the project and "Run Custom Tool...". For example, for the the interface:
And the proxy can be used as: