You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello, how can I get all controller/action filters and attributes without using reflection.
for e.g. I want to parse and get similar results from NRefactory
public void OnActionExecuting(ActionExecutingContext c)
// how can I do something similar in Nrefactory
{
var controllerActionDes = c.ActionDescriptor as ControllerActionDescriptor;
if (controllerActionDescriptor != null)
{
var actionAttributes = controllerActionDes .MethodInfo...
}
}
hello, how can I get all controller/action filters and attributes without using reflection.
for e.g. I want to parse and get similar results from NRefactory