c# Programming Glossary: thistype
GetMethod for generic method [duplicate] http://stackoverflow.com/questions/4035719/getmethod-for-generic-method public static MethodInfo GetMethodExt this Type thisType string name params Type parameterTypes return GetMethodExt thisType.. string name params Type parameterTypes return GetMethodExt thisType name BindingFlags.Instance BindingFlags.Static BindingFlags.Public.. public static MethodInfo GetMethodExt this Type thisType string name BindingFlags bindingFlags params Type parameterTypes..
Calling a function from a string in C# http://stackoverflow.com/questions/540066/calling-a-function-from-a-string-in-c-sharp Yes. You can use reflection. Something like this Type thisType this.GetType MethodInfo theMethod thisType.GetMethod TheCommandString.. like this Type thisType this.GetType MethodInfo theMethod thisType.GetMethod TheCommandString theMethod.Invoke this userParameters..
|