PostSharp6.4//API Reference/Post­Sharp.​Reflection Namespace/Reflection­Helper Class/Reflection­Helper Methods/Reflection­Helper.​Get­Event Method

ReflectionHelper.GetEvent Method

Namespace:  PostSharp.Reflection
Assembly:  PostSharp (in PostSharp.dll) Version: 6.4.11.0 (6.4.11.0)
Syntax
C#
public static EventInfo GetEvent(
	Type declaringType,
	MethodInfo addMethod,
	MethodInfo removeMethod,
	MethodInfo raiseMethod
)

Parameters

declaringType
Type: System.Type
addMethod
Type: System.Reflection.MethodInfo
removeMethod
Type: System.Reflection.MethodInfo
raiseMethod
Type: System.Reflection.MethodInfo

Return Value

Type: EventInfo
See Also