Reflection Proxy Class Generator

Access non-public members of .NET types and use non-public classes with reflection
Download

Reflection Proxy Class Generator Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Ms-PL
  • Publisher Name:
  • Sefan Stanev
  • Operating Systems:
  • Windows All
  • File Size:
  • 12 KB

Reflection Proxy Class Generator Tags


Reflection Proxy Class Generator Description

The Reflection Proxy Class Generator was developed for .NET developers to access non-public members of .NET types and use non-public classes with reflection. This is a small utility that generates reflection proxy classes - i.e. classes that contain methods and properties matching all methods and properties (public and non-public) of specified .NET classes and calling the latter with reflection. So if you have the following .NET class: class MyClass{ private void SomeMethod(int i, string s){} } the generated reflection proxy class will look something like: public class MyClassProxy{ public void SomeMethod(int i, string s) { /* reflection call onto the underlying type's method */ } } Support for "out" and "ref" method parameters, indexers; possibility for specifying a group of classes for which proxies will be generated; members with non-public type will be mapped to the corresponding proxies if such are included in the group of classes for proxy generation. NOTE: in the binaries package a test configuration XML is included which specifies that reflection proxies are generated for two classes from one of the SharePoint core assemblies. You need to change this and specify some other classes for which you need reflection proxies, unless of course you don't have SharePoint installed and want to generate proxies for exactly these two classes.


Reflection Proxy Class Generator Related Software