public static bool CheckSignature (EventInfo eventInfo, MethodInfo methodInfo)
{
//check signature
}
I want to check the signature(aka ReturnType and ParameterInfo) between an EventInfo and a MethodInfo before creating delegate from that methodInfo . I can get the ReturnType and ParameterInfo from MethodInfo but not from EventInfo. Is there anyway to achive?
Aucun commentaire:
Enregistrer un commentaire