1 <?xml version="1.0" encoding="utf-8"?>
2 <Type Name="ReflectionContext" FullName="System.Reflection.ReflectionContext">
3 <TypeSignature Language="C#" Value="public abstract class ReflectionContext" />
4 <TypeSignature Language="ILAsm" Value=".class public auto ansi abstract beforefieldinit ReflectionContext extends System.Object" />
6 <AssemblyName>mscorlib</AssemblyName>
7 <AssemblyVersion>4.0.0.0</AssemblyVersion>
10 <BaseTypeName>System.Object</BaseTypeName>
15 <attribution license="cc4" from="Microsoft" modified="false" />
16 <para>The purpose of this class is to provide a way for reflection code to be made aware when reflection objects originate in a context other than the default reflection context, so that operations on those objects can use that context. For example, reflection objects that originate with a <see cref="T:System.Reflection.Context.CustomReflectionContext" /> object should be compared only with reflection objects that have the same origin. For more information, see the <see cref="T:System.Reflection.Context.CustomReflectionContext" /> reference page.</para>
19 <attribution license="cc4" from="Microsoft" modified="false" />
20 <para>Represents a context that can provide reflection objects.</para>
24 <Member MemberName=".ctor">
25 <MemberSignature Language="C#" Value="protected ReflectionContext ();" />
26 <MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor() cil managed" />
27 <MemberType>Constructor</MemberType>
29 <AssemblyVersion>4.0.0.0</AssemblyVersion>
33 <remarks>To be added.</remarks>
35 <attribution license="cc4" from="Microsoft" modified="false" />
36 <para>Initializes a new instance of the <see cref="T:System.Reflection.ReflectionContext" /> class.</para>
40 <Member MemberName="GetTypeForObject">
41 <MemberSignature Language="C#" Value="public virtual System.Reflection.TypeInfo GetTypeForObject (object value);" />
42 <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Reflection.TypeInfo GetTypeForObject(object value) cil managed" />
43 <MemberType>Method</MemberType>
45 <AssemblyVersion>4.0.0.0</AssemblyVersion>
48 <ReturnType>System.Reflection.TypeInfo</ReturnType>
51 <Parameter Name="value" Type="System.Object" />
54 <remarks>To be added.</remarks>
56 <attribution license="cc4" from="Microsoft" modified="false" />
57 <para>Gets the representation of the type of the specified object in this reflection context.</para>
60 <attribution license="cc4" from="Microsoft" modified="false" />
61 <para>An object that represents the type of the specified object.</para>
64 <attribution license="cc4" from="Microsoft" modified="false" />The object to represent.</param>
67 <Member MemberName="MapAssembly">
68 <MemberSignature Language="C#" Value="public abstract System.Reflection.Assembly MapAssembly (System.Reflection.Assembly assembly);" />
69 <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Reflection.Assembly MapAssembly(class System.Reflection.Assembly assembly) cil managed" />
70 <MemberType>Method</MemberType>
72 <AssemblyVersion>4.0.0.0</AssemblyVersion>
75 <ReturnType>System.Reflection.Assembly</ReturnType>
78 <Parameter Name="assembly" Type="System.Reflection.Assembly" />
81 <remarks>To be added.</remarks>
83 <attribution license="cc4" from="Microsoft" modified="false" />
84 <para>Gets the representation, in this reflection context, of an assembly that is represented by an object from another reflection context.</para>
87 <attribution license="cc4" from="Microsoft" modified="false" />
88 <para>The representation of the assembly in this reflection context.</para>
90 <param name="assembly">
91 <attribution license="cc4" from="Microsoft" modified="false" />The external representation of the assembly to represent in this context.</param>
94 <Member MemberName="MapType">
95 <MemberSignature Language="C#" Value="public abstract System.Reflection.TypeInfo MapType (System.Reflection.TypeInfo type);" />
96 <MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Reflection.TypeInfo MapType(class System.Reflection.TypeInfo type) cil managed" />
97 <MemberType>Method</MemberType>
99 <AssemblyVersion>4.0.0.0</AssemblyVersion>
102 <ReturnType>System.Reflection.TypeInfo</ReturnType>
105 <Parameter Name="type" Type="System.Reflection.TypeInfo" />
108 <remarks>To be added.</remarks>
110 <attribution license="cc4" from="Microsoft" modified="false" />
111 <para>Gets the representation, in this reflection context, of a type represented by an object from another reflection context.</para>
114 <attribution license="cc4" from="Microsoft" modified="false" />
115 <para>The representation of the type in this reflection context..</para>
118 <attribution license="cc4" from="Microsoft" modified="false" />The external representation of the type to represent in this context.</param>