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.
19
Task OnActionExecutionAsync(ActionExecutingContext context,
ActionExecutionDelegate
next);
Microsoft.AspNetCore.Mvc.Core (4)
Filters\ActionFilterAttribute.cs (1)
33
ActionExecutionDelegate
next)
Filters\ControllerActionFilter.cs (2)
20
ActionExecutionDelegate
next)
49
ActionExecutionDelegate
next,
Infrastructure\ControllerActionInvoker.cs (1)
372
typeof(
ActionExecutionDelegate
).Name);
Microsoft.AspNetCore.Mvc.Core.Test (19)
ApplicationModels\DefaultApplicationModelProviderTest.cs (1)
1797
ActionExecutionDelegate
next)
Infrastructure\ControllerActionInvokerTest.cs (18)
296
.Setup(f => f.OnActionExecutionAsync(It.IsAny<ActionExecutingContext>(), It.IsAny<
ActionExecutionDelegate
>()))
297
.Returns<ActionExecutingContext,
ActionExecutionDelegate
>(async (context, next) =>
311
f => 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) =>
431
f => 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) =>
488
f => 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) =>
635
f => 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)
21
It.IsAny<
ActionExecutionDelegate
>()))
33
var
next = new ActionExecutionDelegate(() => Task.FromResult(CreateActionExecutedContext(context)));
55
It.IsAny<
ActionExecutionDelegate
>()))
71
var
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
345
ActionExecutionDelegate
next)