Method | Description | |
---|---|---|
BindToField ( BindingFlags bindingAttr, |
Selects a field from the given set of fields, based on the specified criteria.
|
|
BindToMethod ( BindingFlags bindingAttr, |
Selects a method to invoke from the given set of methods, based on the supplied arguments.
|
|
ChangeType ( object value, |
Changes the type of the given Object to the given Type.
|
|
ImplicitMethodBinder ( |
Initializes a new instance of the ImplicitMethodBinder class.
|
|
ReorderArgumentArray ( object &args, object state ) : void |
Upon returning from M:System.Reflection.Binder.BindToMethod(System.Reflection.BindingFlags,System.Reflection.MethodBase[],System.Object[]@,System.Reflection.ParameterModifier[],System.Globalization.CultureInfo,System.String[],System.Object@), restores the args argument to what it was when it came from BindToMethod.
|
|
SelectMethod ( BindingFlags bindingAttr, |
Selects a method from the given set of methods, based on the argument type.
|
|
SelectProperty ( BindingFlags bindingAttr, |
Selects a property from the given set of properties, based on the specified criteria.
|
public BindToField ( BindingFlags bindingAttr, |
||
bindingAttr | BindingFlags | A bitwise combination of |
match | The set of fields that are candidates for matching. For example, when a |
|
value | object | The field value used to locate a matching field. /// |
culture | An instance of |
|
return |
public BindToMethod ( BindingFlags bindingAttr, |
||
bindingAttr | BindingFlags | A bitwise combination of |
match | The set of methods that are candidates for matching. For example, when a |
|
args | object | The arguments that are passed in. The binder can change the order of the arguments in this array; for example, the default binder changes the order of arguments if the |
modifiers | An array of parameter modifiers that enable binding to work with parameter signatures in which the types have been modified. The default binder implementation does not use this parameter. /// | |
culture | An instance of |
|
names | string | The parameter names, if parameter names are to be considered when matching, or null if arguments are to be treated as purely positional. For example, parameter names must be used if arguments are not supplied in positional order. /// |
state | object | After the method returns, |
return |
public ChangeType ( object value, |
||
value | object | The object to change into a new Type. /// |
type | The new Type that |
|
culture | An instance of |
|
return | object |
public ImplicitMethodBinder ( |
||
sourceType | Type of the source. | |
targetType | Type of the destination. | |
return | System |
public ReorderArgumentArray ( object &args, object state ) : void | ||
args | object | The actual arguments that are passed in. Both the types and values of the arguments can be changed. /// |
state | object | A binder-provided object that keeps track of argument reordering. /// |
return | void |
public SelectMethod ( BindingFlags bindingAttr, |
||
bindingAttr | BindingFlags | A bitwise combination of |
match | The set of methods that are candidates for matching. For example, when a |
|
types | The parameter types used to locate a matching method. /// | |
modifiers | An array of parameter modifiers that enable binding to work with parameter signatures in which the types have been modified. /// | |
return |
public SelectProperty ( BindingFlags bindingAttr, |
||
bindingAttr | BindingFlags | A bitwise combination of |
match | The set of properties that are candidates for matching. For example, when a |
|
returnType | The return value the matching property must have. /// | |
indexes | The index types of the property being searched for. Used for index properties such as the indexer for a class. /// | |
modifiers | An array of parameter modifiers that enable binding to work with parameter signatures in which the types have been modified. /// | |
return |