【发布时间】:2015-01-21 14:07:27
【问题描述】:
我尝试使用此代码,但它不起作用(返回空列表)
var controllerDescriptor = new ReflectedControllerDescriptor(controller);
ActionDescriptor[] actions = controllerDescriptor.GetCanonicalActions();
【问题讨论】:
标签: c# asp.net asp.net-mvc api