31 references to ActionExecutionDelegate
Microsoft.AspNetCore.Mvc.Abstractions (2)
Filters\IAsyncActionFilter.cs (2)
16/// The <see cref="ActionExecutionDelegate"/>. Invoked to execute the next action filter or the action itself. 19Task OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next);
Microsoft.AspNetCore.Mvc.Core (4)
Filters\ActionFilterAttribute.cs (1)
33ActionExecutionDelegate next)
Filters\ControllerActionFilter.cs (2)
20ActionExecutionDelegate next) 49ActionExecutionDelegate next,
Infrastructure\ControllerActionInvoker.cs (1)
372typeof(ActionExecutionDelegate).Name);
Microsoft.AspNetCore.Mvc.Core.Test (19)
ApplicationModels\DefaultApplicationModelProviderTest.cs (1)
1797ActionExecutionDelegate next)
Infrastructure\ControllerActionInvokerTest.cs (18)
296.Setup(f => f.OnActionExecutionAsync(It.IsAny<ActionExecutingContext>(), It.IsAny<ActionExecutionDelegate>())) 297.Returns<ActionExecutingContext, ActionExecutionDelegate>(async (context, next) => 311f => f.OnActionExecutionAsync(It.IsAny<ActionExecutingContext>(), It.IsAny<ActionExecutionDelegate>()), 395.Setup(f => f.OnActionExecutionAsync(It.IsAny<ActionExecutingContext>(), It.IsAny<ActionExecutionDelegate>())) 396.Returns<ActionExecutingContext, ActionExecutionDelegate>((c, next) => 431f => f.OnActionExecutionAsync(It.IsAny<ActionExecutingContext>(), It.IsAny<ActionExecutionDelegate>()), 458.Setup(f => f.OnActionExecutionAsync(It.IsAny<ActionExecutingContext>(), It.IsAny<ActionExecutionDelegate>())) 459.Returns<ActionExecutingContext, ActionExecutionDelegate>((c, next) => 488f => f.OnActionExecutionAsync(It.IsAny<ActionExecutingContext>(), It.IsAny<ActionExecutionDelegate>()), 504.Setup(f => f.OnActionExecutionAsync(It.IsAny<ActionExecutingContext>(), It.IsAny<ActionExecutionDelegate>())) 505.Returns<ActionExecutingContext, ActionExecutionDelegate>(async (c, next) => 610.Setup(f => f.OnActionExecutionAsync(It.IsAny<ActionExecutingContext>(), It.IsAny<ActionExecutionDelegate>())) 611.Returns<ActionExecutingContext, ActionExecutionDelegate>(async (c, next) => 635f => f.OnActionExecutionAsync(It.IsAny<ActionExecutingContext>(), It.IsAny<ActionExecutionDelegate>()), 820.Setup(f => f.OnActionExecutionAsync(It.IsAny<ActionExecutingContext>(), It.IsAny<ActionExecutionDelegate>())) 821.Returns<ActionExecutingContext, ActionExecutionDelegate>(async (c, next) => 828.Setup(f => f.OnActionExecutionAsync(It.IsAny<ActionExecutingContext>(), It.IsAny<ActionExecutionDelegate>())) 829.Returns<ActionExecutingContext, ActionExecutionDelegate>(async (c, next) =>
Microsoft.AspNetCore.Mvc.Core.TestCommon (4)
CommonFilterTest.cs (4)
21It.IsAny<ActionExecutionDelegate>())) 33var next = new ActionExecutionDelegate(() => Task.FromResult(CreateActionExecutedContext(context))); 55It.IsAny<ActionExecutionDelegate>())) 71var next = new ActionExecutionDelegate(() => { throw null; }); // This won't run
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
Controller.cs (2)
339/// <param name="next">The <see cref="ActionExecutionDelegate"/> to execute. Invoke this delegate in the body 345ActionExecutionDelegate next)