c# - How to get methods declared in Base class using Reflection? -


i trying invoke methods using reflection in windwos 8 store application. tried list of methods base class method using this.gettype().gettypeinfo().declaredmethods.

var methodlist = base.gettype().gettypeinfo().declaredmethods; 

i able methods declared in child class , invoke them. unable list of methods defined in base class.
wrong approach? project built using .net windows store

gettype().getruntimemethods() 

this method gave wanted. got methods present inside object during runtime.


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -