Open sandboxFocus

Method GetProperty

GetProperty(Type, MethodInfo, MethodInfo)

Declaration
public static PropertyInfo GetProperty(Type declaringType, MethodInfo getter, MethodInfo setter)
Parameters
Type Name Description
Type declaringType
MethodInfo getter
MethodInfo setter
Returns
Type Description
PropertyInfo

GetProperty(Type, MethodInfo, MethodInfo, bool)

Declaration
public static PropertyInfo GetProperty(Type declaringType, MethodInfo getter, MethodInfo setter, bool throwOnMissingMember)
Parameters
Type Name Description
Type declaringType
MethodInfo getter
MethodInfo setter
bool throwOnMissingMember
Returns
Type Description
PropertyInfo