PostSharpAPI ReferencePost­Sharp.​ReflectionReflection­HelperGet­Property
Open sandboxFocus

ReflectionHelper.GetProperty Method

GetProperty(Type, MethodInfo, MethodInfo)

Declaration
[Internal]
public static PropertyInfo GetProperty(Type declaringType, MethodInfo getter, MethodInfo setter)
Parameters
Type Name Description
Type declaringType
System.Reflection.MethodInfo getter
System.Reflection.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
System.Reflection.MethodInfo getter
System.Reflection.MethodInfo setter
System.Boolean throwOnMissingMember
Returns
Type Description
PropertyInfo