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
Post a Comment