PostSharp6.4//API Reference/Post­Sharp.​Reflection Namespace/Reflection­Helper Class/Reflection­Helper Methods/Reflection­Helper.​Get­Property Method/Reflection­Helper.​Get­Property Method (Type, Method­Info, Method­Info)

ReflectionHelper.GetProperty Method (Type, MethodInfo, MethodInfo)

Namespace:  PostSharp.Reflection
Assembly:  PostSharp (in PostSharp.dll) Version: 6.4.11.0 (6.4.11.0)
Syntax
C#
public static PropertyInfo GetProperty(
	Type declaringType,
	MethodInfo getter,
	MethodInfo setter
)

Parameters

declaringType
Type: System.Type
getter
Type: System.Reflection.MethodInfo
setter
Type: System.Reflection.MethodInfo

Return Value

Type: PropertyInfo
See Also