PostSharp//API Reference/Post­Sharp.​Reflection/Reflection­Helper/Get­Property
Open sandboxFocus

Method GetProperty

GetProperty(Type, MethodInfo, MethodInfo)

Declaration
[Internal]
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, Boolean)

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