CustomReflectionContext Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a customizable reflection context.
public ref class CustomReflectionContext abstract : System::Reflection::ReflectionContext
public abstract class CustomReflectionContext : System.Reflection.ReflectionContext
type CustomReflectionContext = class
inherit ReflectionContext
Public MustInherit Class CustomReflectionContext
Inherits ReflectionContext
- Inheritance
- Derived
Remarks
For more information about this API, see Supplemental API remarks for CustomReflectionContext.
Constructors
| Name | Description |
|---|---|
| CustomReflectionContext() |
Initializes a new instance of the CustomReflectionContext class. |
| CustomReflectionContext(ReflectionContext) |
Initializes a new instance of the CustomReflectionContext class with the specified reflection context as a base. |
Methods
| Name | Description |
|---|---|
| AddProperties(Type) |
When overridden in a derived class, provides a collection of additional properties for the specified type, as represented in this reflection context. |
| CreateProperty(Type, String, Func<Object,Object>, Action<Object,Object>, IEnumerable<Attribute>, IEnumerable<Attribute>, IEnumerable<Attribute>) |
Creates an object that represents a property to be added to a type, to be used with the AddProperties(Type) method and using the specified custom attributes. |
| CreateProperty(Type, String, Func<Object,Object>, Action<Object,Object>) |
Creates an object that represents a property to be added to a type, to be used with the AddProperties(Type) method. |
| Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
| GetCustomAttributes(MemberInfo, IEnumerable<Object>) |
When overridden in a derived class, provides a list of custom attributes for the specified member, as represented in this reflection context. |
| GetCustomAttributes(ParameterInfo, IEnumerable<Object>) |
When overridden in a derived class, provides a list of custom attributes for the specified parameter, as represented in this reflection context. |
| GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
| GetType() |
Gets the Type of the current instance. (Inherited from Object) |
| GetTypeForObject(Object) |
Gets the representation of the type of the specified object in this reflection context. (Inherited from ReflectionContext) |
| MapAssembly(Assembly) |
Gets the representation, in this reflection context, of an assembly that is represented by an object from another reflection context. |
| MapType(TypeInfo) |
Gets the representation, in this reflection context, of a type represented by an object from another reflection context. |
| MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString() |
Returns a string that represents the current object. (Inherited from Object) |