The StaticReflectionPolicy type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| StaticReflectionPolicy | Initializes a new instance of the StaticReflectionPolicy class |
Methods
| Name | Description | |
|---|---|---|
| Equals | Overloaded. | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetAssemblyCustomAttributes |
Gets the custom attributes of an assembly.
| |
| GetAssemblyExportedTypes |
Gets the public types exported by an assembly.
| |
| GetAssemblyName |
Gets the name of an assembly.
| |
| GetAssemblyPath |
Gets the path of an assembly.
| |
| GetAssemblyReferences |
Gets the references of an assembly.
| |
| GetAssemblyType |
Gets the specified named type within an assembly.
| |
| GetAssemblyTypes |
Gets all types contained in an assembly.
| |
| GetAttributeConstructor |
Gets the constructor of an attribute.
| |
| GetAttributeConstructorArguments |
Gets the constructor arguments of an attribute.
| |
| GetAttributeFieldArguments |
Gets the field arguments of an attribute.
| |
| GetAttributePropertyArguments |
Gets the property arguments of an attribute.
| |
| GetEventAddMethod |
Gets the add method of an event, or null if none.
| |
| GetEventAttributes |
Gets the attributes of an event.
| |
| GetEventHandlerType |
Gets the event handler type of an event.
| |
| GetEventRaiseMethod |
Gets the raise method of an event, or null if none.
| |
| GetEventRemoveMethod |
Gets the remove method of an event, or null if none.
| |
| GetFieldAttributes |
Gets the attributes of a field.
| |
| GetFieldType |
Gets the field type.
| |
| GetFunctionAttributes |
Gets the attributes of a function.
| |
| GetFunctionCallingConvention |
Gets the calling conventions of a function.
| |
| GetFunctionParameters |
Gets the parameters of a function.
| |
| GetGenericParameterAttributes |
Gets the attributes of a generic parameter.
| |
| GetGenericParameterConstraints |
Gets the generic parameter constraints.
| |
| GetGenericParameterPosition |
Gets the generic parameter position.
| |
| GetHashCode | Overloaded. | |
| GetMemberCustomAttributes |
Gets the custom attributes of a member.
| |
| GetMemberName |
Gets the short name of a member.
In the case of a generic type, should exclude the generic parameter count
part of the name. eg. "`1"
| |
| GetMemberSourceLocation |
Gets the source code location of a member.
| |
| GetMethodGenericParameters |
Gets the generic parameters of a method.
| |
| GetMethodReturnParameter |
Gets the return parameter of a method.
| |
| GetParameterAttributes |
Gets the attributes of a parameter.
| |
| GetParameterCustomAttributes |
Gets the custom attributes of a parameter.
| |
| GetParameterName |
Gets the name of a parameter.
| |
| GetParameterPosition |
Gets the parameter's position, or -1 if the parameter is a return value.
| |
| GetParameterType |
Gets the parameter type.
| |
| GetPropertyAttributes |
Gets the attributes of a property.
| |
| GetPropertyGetMethod |
Gets the get method of a property, or null if none.
| |
| GetPropertySetMethod |
Gets the set method of a property, or null if none.
| |
| GetPropertyType |
Gets the property type.
| |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| GetTypeAssembly |
Gets the assembly that contains a type.
| |
| GetTypeAttributes |
Gets the attributes of a type.
| |
| GetTypeBaseType |
Gets the base type of atype.
| |
| GetTypeConstructors |
Gets the constructors of a type.
Only includes declared methods, not inherited ones.
| |
| GetTypeEvents |
Gets the events of a type.
Only includes declared methods, not inherited ones.
| |
| GetTypeFields |
Gets the fields of a type.
Only includes declared methods, not inherited ones.
| |
| GetTypeGenericParameters |
Gets the generic parameters of a type, including all generic parameters
of its declaring types if it is nested enumerated from outside in.
| |
| GetTypeInterfaces |
Gets the interfaces directly implemented by a type.
| |
| GetTypeMethods |
Gets the methods of a type including accessor methods for properties and events.
Only includes declared methods, not inherited ones.
| |
| GetTypeNamespace |
Gets the namespace that contains a type.
| |
| GetTypeNestedTypes |
Gets the nested types of a type.
Only includes declared nested types, not inherited ones.
| |
| GetTypeProperties |
Gets the properties of a type.
Only includes declared methods, not inherited ones.
| |
| LoadAssembly |
Loads an assembly by name.
(Inherited from BaseReflectionPolicy.) | |
| LoadAssemblyFrom |
Loads an assembly from a file.
(Inherited from BaseReflectionPolicy.) | |
| LoadAssemblyFromImpl |
Loads an assembly from a file.
(Inherited from BaseReflectionPolicy.) | |
| LoadAssemblyImpl |
Loads an assembly.
(Inherited from BaseReflectionPolicy.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ToString |
Returns a String that represents the current Object.
(Inherited from Object.) |
Extension Methods
| Name | Description | |
|---|---|---|
| Format | Overloaded. |
