Class CustomReflectionBinder
Custom implementation of a reflection Binder that select methods based on exact matches using the ReflectionTypeComparer.
Namespace: PostSharp.Reflection
Assembly: PostSharp.dll
Syntax
public sealed class CustomReflectionBinder : Binder
Fields
Name | Description |
---|---|
Instance | Singleton instance. |
Methods
Name | Description |
---|---|
BindToField(BindingFlags, FieldInfo[], Object, CultureInfo) | Selects a field from the given set of fields, based on the specified criteria. |
BindToMethod(BindingFlags, MethodBase[], ref Object[], ParameterModifier[], CultureInfo, String[], out Object) | Selects a method to invoke from the given set of methods, based on the supplied arguments. |
ChangeType(Object, Type, CultureInfo) | Changes the type of the given langword_csharp_Object to the given langword_csharp_Type. |
ReorderArgumentArray(ref Object[], Object) | Upon returning from BindToMethod(BindingFlags, MethodBase[], Object[], ParameterModifier[], CultureInfo, String[], Object), restores the |
SelectMethod(BindingFlags, MethodBase[], Type[], ParameterModifier[]) | Selects a method from the given set of methods, based on the argument type. |
SelectProperty(BindingFlags, PropertyInfo[], Type, Type[], ParameterModifier[]) | Selects a property from the given set of properties, based on the specified criteria. |