MetalamaAPI documentationPost­Sharp API migrationPost­Sharp.​ReflectionReflection­HelperGet­Event
Open sandboxFocus

ReflectionHelper.GetEvent Method

GetEvent(Type, MethodInfo, MethodInfo, MethodInfo)

Declaration
public static EventInfo GetEvent(Type declaringType, MethodInfo addMethod, MethodInfo removeMethod, MethodInfo raiseMethod)
Parameters
Type Name Description
Type declaringType
MethodInfo addMethod
MethodInfo removeMethod
MethodInfo raiseMethod
Returns
Type Description
EventInfo