I have a static class with private functions, I want to get all functions except one. I tried using Ignorecase but i get an overload exception... I do it exactly like many examples online but I get an error and I dont know why...am I missing something?
//Example
static MethodInfo[] allFuncs ;
static Type myType = typeof(myClass);
allFuncs = myType.GetMethods("innerFunction", BindingFlags.IgnoreCase|BindingFlags.NonPublic | BindingFlags.Static );
Aucun commentaire:
Enregistrer un commentaire