4 implementations of OnActionExecutionAsync
Microsoft.AspNetCore.Mvc.Core (2)
Filters\ActionFilterAttribute.cs (1)
31public virtual async Task OnActionExecutionAsync(
Filters\ControllerActionFilter.cs (1)
18public Task OnActionExecutionAsync(
Microsoft.AspNetCore.Mvc.Core.Test (1)
ApplicationModels\DefaultApplicationModelProviderTest.cs (1)
1795public Task OnActionExecutionAsync(
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Controller.cs (1)
343public virtual Task OnActionExecutionAsync(
19 references to OnActionExecutionAsync
Microsoft.AspNetCore.Mvc.Abstractions (2)
Filters\ActionExecutingContext.cs (1)
10/// <see cref="IAsyncActionFilter.OnActionExecutionAsync"/> calls.
Filters\IOrderedFilter.cs (1)
22/// value will have its filter method, such as <see cref="IAsyncActionFilter.OnActionExecutionAsync"/>,
Microsoft.AspNetCore.Mvc.Core (2)
Filters\ControllerActionFilter.cs (1)
35return asyncActionFilter.OnActionExecutionAsync(context, next);
Infrastructure\ControllerActionInvoker.cs (1)
128var task = filter.OnActionExecutionAsync(actionExecutingContext, InvokeNextActionFilterAwaitedAsync);
Microsoft.AspNetCore.Mvc.Core.Test (11)
Infrastructure\ControllerActionInvokerTest.cs (11)
296.Setup(f => f.OnActionExecutionAsync(It.IsAny<ActionExecutingContext>(), It.IsAny<ActionExecutionDelegate>())) 311f => f.OnActionExecutionAsync(It.IsAny<ActionExecutingContext>(), It.IsAny<ActionExecutionDelegate>()), 395.Setup(f => f.OnActionExecutionAsync(It.IsAny<ActionExecutingContext>(), It.IsAny<ActionExecutionDelegate>())) 431f => f.OnActionExecutionAsync(It.IsAny<ActionExecutingContext>(), It.IsAny<ActionExecutionDelegate>()), 458.Setup(f => f.OnActionExecutionAsync(It.IsAny<ActionExecutingContext>(), It.IsAny<ActionExecutionDelegate>())) 488f => f.OnActionExecutionAsync(It.IsAny<ActionExecutingContext>(), It.IsAny<ActionExecutionDelegate>()), 504.Setup(f => f.OnActionExecutionAsync(It.IsAny<ActionExecutingContext>(), It.IsAny<ActionExecutionDelegate>())) 610.Setup(f => f.OnActionExecutionAsync(It.IsAny<ActionExecutingContext>(), It.IsAny<ActionExecutionDelegate>())) 635f => f.OnActionExecutionAsync(It.IsAny<ActionExecutingContext>(), It.IsAny<ActionExecutionDelegate>()), 820.Setup(f => f.OnActionExecutionAsync(It.IsAny<ActionExecutingContext>(), It.IsAny<ActionExecutionDelegate>())) 828.Setup(f => f.OnActionExecutionAsync(It.IsAny<ActionExecutingContext>(), It.IsAny<ActionExecutionDelegate>()))
Microsoft.AspNetCore.Mvc.Core.TestCommon (4)
CommonFilterTest.cs (4)
19.Setup(f => f.OnActionExecutionAsync( 36await mock.As<IAsyncActionFilter>().Object.OnActionExecutionAsync(context, next); 53.Setup(f => f.OnActionExecutionAsync( 74await mock.As<IAsyncActionFilter>().Object.OnActionExecutionAsync(context, next);