The PowerBinder type exposes the following members.
|
名称 |
说明 |
 |
BindToField |
基于指定的判据,从给定的字段集中选择一个字段。
(重写 Binder.BindToField(BindingFlags, FieldInfo[], Object, CultureInfo).) |
 |
BindToMethod |
基于提供的参数,从给定的方法集中选择要调用的方法。
(重写 Binder.BindToMethod(BindingFlags, MethodBase[], Object[], ParameterModifier[], CultureInfo, String[], Object).) |
 |
ChangeType |
将给定 Object 的类型更改为给定 Type。
(重写 Binder.ChangeType(Object, Type, CultureInfo).) |
 |
Equals |
Determines whether the specified object is equal to the current object.
(继承自 Object。) |
 |
GetHashCode |
Serves as the default hash function.
(继承自 Object。) |
 |
GetType |
Gets the Type of the current instance.
(继承自 Object。) |
 |
ReorderArgumentArray |
从 BindToMethod(BindingFlags, MethodBase[], Object[], ParameterModifier[], CultureInfo, String[], Object) 返回后,将 args 参数还原为从 BindToMethod(BindingFlags, MethodBase[], Object[], ParameterModifier[], CultureInfo, String[], Object) 传入时的状态。
(重写 Binder.ReorderArgumentArray(Object[], Object).) |
 |
SelectMethod |
基于参数类型,从给定的方法集中选择一个方法。 允许通过指定 OptionalParamBinding 来匹配可选参数。
(重写 Binder.SelectMethod(BindingFlags, MethodBase[], Type[], ParameterModifier[]).) |
 |
SelectProperty |
基于参数类型,从给定的属性集中选择一个属性。
(重写 Binder.SelectProperty(BindingFlags, PropertyInfo[], Type, Type[], ParameterModifier[]).) |
 |
ToString |
Returns a string that represents the current object.
(继承自 Object。) |
Back to Top
PowerBinder 类
Cyjb.Reflection 命名空间