dimanche 6 décembre 2015

is there a way to gotmethod according to output type using reflection

I have a class with different types of functions, I want to get all private functions that return double.

private static double functionA (){}

using bindingflags.nonpublic and bindingflags.static - I get closer to the methods I need but to be specific I need to get the method according to it's output, is there a way ?





Aucun commentaire:

Enregistrer un commentaire