Property | Type | Description | |
---|---|---|---|
ObjectType | |||
_attributes | List |
||
_name | string | ||
_type |
Property | Type | Description |
---|
Method | Description | |
---|---|---|
CustomPropertyInfoHelper ( string name, |
采用属性名,类型,声明构造
|
|
CustomPropertyInfoHelper ( string name, |
采用属性名及类型构造
|
|
GetAccessors ( bool nonPublic ) : System.Reflection.MethodInfo[] | ||
GetCustomAttributes ( |
||
GetCustomAttributes ( bool inherit ) : object[] | ||
GetGetMethod ( bool nonPublic ) : |
||
GetIndexParameters ( ) : System.Reflection.ParameterInfo[] | ||
GetSetMethod ( bool nonPublic ) : |
||
GetValue ( object obj, BindingFlags invokeAttr, |
读属性值,直接转为调用对象的GetPropertyValue
|
|
IsDefined ( |
||
SetValue ( object obj, object value, BindingFlags invokeAttr, |
设置属性值,直接转为调用对象的SetPropertyValue方法。
|
public CustomPropertyInfoHelper ( string name, |
||
name | string | 属性名 |
type | 类型 | |
attributes | List |
声明 |
objectType | ||
return | System |
public CustomPropertyInfoHelper ( string name, |
||
name | string | 属性名 |
type | 类型 | |
objectType | ||
return | System |
public GetAccessors ( bool nonPublic ) : System.Reflection.MethodInfo[] | ||
nonPublic | bool | |
return | System.Reflection.MethodInfo[] |
public GetCustomAttributes ( |
||
attributeType | ||
inherit | bool | |
return | object[] |
public GetCustomAttributes ( bool inherit ) : object[] | ||
inherit | bool | |
return | object[] |
public GetGetMethod ( bool nonPublic ) : |
||
nonPublic | bool | |
return |
public GetIndexParameters ( ) : System.Reflection.ParameterInfo[] | ||
return | System.Reflection.ParameterInfo[] |
public GetSetMethod ( bool nonPublic ) : |
||
nonPublic | bool | |
return |
public GetValue ( object obj, BindingFlags invokeAttr, |
||
obj | object | 要读取值的对象 |
invokeAttr | BindingFlags | 未知 |
binder | 未知 | |
index | object | 未知 |
culture | System | 未知 |
return | object |
public IsDefined ( |
||
attributeType | ||
inherit | bool | |
return | bool |
public SetValue ( object obj, object value, BindingFlags invokeAttr, |
||
obj | object | 要设置值的对象 |
value | object | 设置的值 |
invokeAttr | BindingFlags | 未知 |
binder | 未知 | |
index | object | 未知 |
culture | System | 未知 |
return | void |