mscorlib(4.0.0.0) API with additions
System.Reflection.ReflectionContext Class Referenceabstract

Represents a context that can provide reflection objects. More...

Public Member Functions

abstract Assembly MapAssembly (Assembly assembly)
 Gets the representation, in this reflection context, of an assembly that is represented by an object from another reflection context. More...
 
abstract TypeInfo MapType (TypeInfo type)
 Gets the representation, in this reflection context, of a type represented by an object from another reflection context. More...
 
virtual TypeInfo GetTypeForObject (object value)
 Gets the representation of the type of the specified object in this reflection context. More...
 

Protected Member Functions

 ReflectionContext ()
 Initializes a new instance of the T:System.Reflection.ReflectionContext class. More...
 

Detailed Description

Represents a context that can provide reflection objects.

Definition at line 5 of file ReflectionContext.cs.

Constructor & Destructor Documentation

◆ ReflectionContext()

System.Reflection.ReflectionContext.ReflectionContext ( )
protected

Initializes a new instance of the T:System.Reflection.ReflectionContext class.

Definition at line 9 of file ReflectionContext.cs.

Member Function Documentation

◆ GetTypeForObject()

virtual TypeInfo System.Reflection.ReflectionContext.GetTypeForObject ( object  value)
virtual

Gets the representation of the type of the specified object in this reflection context.

Parameters
valueThe object to represent.
Returns
An object that represents the type of the specified object.

Definition at line 29 of file ReflectionContext.cs.

◆ MapAssembly()

abstract Assembly System.Reflection.ReflectionContext.MapAssembly ( Assembly  assembly)
pure virtual

Gets the representation, in this reflection context, of an assembly that is represented by an object from another reflection context.

Parameters
assemblyThe external representation of the assembly to represent in this context.
Returns
The representation of the assembly in this reflection context.

◆ MapType()

abstract TypeInfo System.Reflection.ReflectionContext.MapType ( TypeInfo  type)
pure virtual

Gets the representation, in this reflection context, of a type represented by an object from another reflection context.

Parameters
typeThe external representation of the type to represent in this context.
Returns
The representation of the type in this reflection context..

The documentation for this class was generated from the following file: