Open luizfbicalho opened 5 years ago
I have this methos im my angular service tst
IEnumerable<Method> BaseClassMethods(Class clas) { return clas.BaseClass.Methods; }
Because my controller has a base controller that is generic, a crud controller. How can I get in my base method, the current class to replace the method return type from generic to specific?
I think you would be able to reach it from 'Parent' property in your method object.
But the parent of the method is the class.
I have this methos im my angular service tst
IEnumerable<Method> BaseClassMethods(Class clas) { return clas.BaseClass.Methods; }
Because my controller has a base controller that is generic, a crud controller. How can I get in my base method, the current class to replace the method return type from generic to specific?