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