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
System.Type declaringType
System.Reflection.MethodInfo addMethod
System.Reflection.MethodInfo removeMethod
System.Reflection.MethodInfo raiseMethod
Returns
Type Description
System.Reflection.EventInfo