Commons Reflection
Overview
The .Net Framework provides Reflection and Introspection APIs to retrieve information about assemblies, modules, members, parameters, and other entities in managed code by examining their metadata. These APIs are found under the
System.Reflection namespace.
These APIs also can be used to manipulate instances of loaded types, for example to hook up events or to invoke methods. However, these APIs can be quite complex to understand and utilize.
Commons Reflection provides wrappers around these APIs to make them easier to use.
Utility classes included in the library are:
Class | Description |
AssemblyUtils | This utility class provides additional function related to manipulating, obtaining or modifying .Net Assemblies. |
AttributeUtils | Utility class that wraps around reflection APIs to access Attribute. |
ClassUtils | Utility methods that relates to class operations, such as the instantiating (activating) a class as an Object, search for a class in an Assembly, etc |
EventUtils | This class contains methods that will help to assign event handlers to events at runtime. |
FieldUtils | This class contains utility functions that perform operations on Fields in objects at runtime. |
MethodUtils | This class contains utility methods that perform operations on object methods at runtime. |
ObjectUtils | This utility class contains a rich sets of utility methods that perform operations on objects during runtime such as copying of property and field values between 2 objects, deep cloning of objects, etc. |
PropertyUtils | This class contains utility methods that perform operations on object properties. |
TypeUtils | Utility class related to the use of reflection with System.Type. |
Documentation
There are no dependencies other than the .Net Base Class libraries namely the
System.Reflection classes.
Documentation
The release packages contain the API documentation.
The Release Notes are also contained in the release packages.
Releases
Reflection v2.0.0.1 Release Candidate (24 January 2007)This release contains a minor bug fix on top of the v2.0.0.0 migration to the .Net Framework 2.0.
This release contains both the binaries and source.