jeudi 1 avril 2021

How do I get MethodInfo of a controller action with HttpContext? (NET CORE 2.2)

I know that I have to use reflection but I don't know how. I'm trying to know the MethodInfo from a StartUp Middleware. I need the MethodInfo to know if the action that I'm invoking is or is not async.

Thank you for your time.





Aucun commentaire:

Enregistrer un commentaire