I have a Func<object, Task>. I am trying to pass it as an argument into a function that takes Func<T, Task>. I am using reflection to create a MethodInfo for the function, and the T being filled in is not known until runtime.
How can I do this with reflection?
Aucun commentaire:
Enregistrer un commentaire