BlackWaspTM

This web site uses cookies. By using the site you accept the cookie policy.This message is for compliance with the UK ICO law.

<< Previous | 1 | 2 | 3 | Next >> |
.NET Reflection.NET Reflection
This is the first in a series of articles that describes the use of reflection. Reflection allows assemblies to be examined programatically to obtain information about the classes, structures and members that are defined within.
The System.Type ClassThe System.Type Class
The second part of the Reflection tutorial looks at the System.Type class. This class can be used to represent a type declaration, such as that of a class or structure, and obtain information about that type and its members.
Reflecting Field InformationReflecting Field Information
The third part of the Reflection tutorial looks at reflection of fields. Information about a type's fields can be obtained in FieldInfo objects, using System.Type class methods. FieldInfo objects include properties that describe a field's type and scope.
Reflecting Property InformationReflecting Property Information
The fourth part of the Reflection tutorial describes the reflection of properties for classes and structures. A type's property information can be obtained as PropertyInfo objects, using methods of the System.Type class.
Reflecting Method InformationReflecting Method Information
The fifth part of the Reflection tutorial describes the reflection of methods. The System.Type class includes several methods that return MethodInfo objects that describe a class's methods. These can be used to obtain parameter and return value details.
Reflecting Event InformationReflecting Event Information
The sixth part of the Reflection tutorial continues the description of the reflection of class and structure members. This article examines the reflection of events and the properties of the EventInfo class, which des
Reflecting Constructor InformationReflecting Constructor Information
The seventh part of the Reflection tutorial completes the series of articles that describes the reflection of the individual member types for classes and structures. This article describes the reflection of the available information for constructors.
Reflecting All Type MembersReflecting All Type Members
The eighth part of the Reflection tutorial continues examining how a type's members may be interrogated using reflection. This article looks at how all of the members of a class or structure, regardless of their types, can be examined.
Reflecting Inherited Member InformationReflecting Inherited Member Information
The ninth part of the Reflection tutorial looks at how members can be reflected when they are declared in types that are involved in inheritance relationships. It explains how members in base classes can be found or hidden when reflecting a subclass.
Reflecting Nested Type InformationReflecting Nested Type Information
The tenth part of the Reflection tutorial moves away from the reflection of type members and looks are the reflection of nested classes and structures. This article explains how the nested types within a class can be obtained for further interrogation.
<< Previous | 1 | 2 | 3 | Next >> |