Esempio n. 1
0
 public static bool IsMvcRazorPage(this ActionContext actionContext) => actionContext.GetActionDescriptorType() == ActionDescriptorType.MvcRazorPage;
Esempio n. 2
0
 public static bool IsMvcController(this ActionContext actionContext) => actionContext.GetActionDescriptorType() == ActionDescriptorType.MvcController;