mercredi 9 août 2017

Getting name of functions in classes for Implementing Intellisense using reflection

I am creating a Intellisense popup for a xaml application. I need names of all methods under a particular class. I am using reflection.

 MethodInfo[] methodInfos = 
    Type.GetType(selectedObjcClass).GetMethods(BindingFlags.Public | BindingFlags.Instance); 

But I get the full name of the method including the namespace and the class name. How to get only function name like in c#?





Aucun commentaire:

Enregistrer un commentaire