KGySoft.Reflection Namespace

The KGySoft.Reflection namespace contains the static Reflector class that provides most of the needed reflection tasks. Additionally, contains several classes derived from MemberAccessor that can dynamically reflect objects, their members and type information by on-the-fly generated delegates.

Classes

CreateInstanceAccessor Provides an efficient way for creating objects via dynamically created delegates.
FieldAccessor Provides an efficient way for setting and getting field values via dynamically created delegates.
MemberAccessor Base class of accessor classes that may access members without system reflection. See the derived classes for more details.
MethodAccessor Provides an efficient way for invoking methods via dynamically created delegates.
PropertyAccessor Provides an efficient way for setting and getting property values via dynamically created delegates.
ReflectionException Represent a reflection error.
Reflector Provides reflection routines on objects that are in most case faster than standard System.Reflection ways.

Enumerations

ReflectionWays Represents the possible ways of reflection for the methods of the Reflector class.
ResolveAssemblyOptions Provides options for the Reflector.ResolveAssembly methods.
ResolveTypeOptions Provides options for the Reflector.ResolveType methods.