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

java - Solr query version issue: Invalid version or the data in not in 'javabin' format -

Hard vs. Soft Water: What's The Difference?

The Ten Most Livable Cities In The World