4 implementations of OnResultExecutionAsync
Microsoft.AspNetCore.Mvc.Core (3)
Filters\ActionFilterAttribute.cs (1)
56
public virtual async Task
OnResultExecutionAsync
(
Filters\ControllerResultFilter.cs (1)
18
public Task
OnResultExecutionAsync
(
Filters\ResultFilterAttribute.cs (1)
28
public virtual async Task
OnResultExecutionAsync
(
Microsoft.AspNetCore.Mvc.RazorPages (1)
Filters\PageHandlerResultFIlter.cs (1)
15
public Task
OnResultExecutionAsync
(ResultExecutingContext context, ResultExecutionDelegate next)
41 references to OnResultExecutionAsync
Microsoft.AspNetCore.Mvc.Abstractions (1)
Filters\ResultExecutingContext.cs (1)
8
/// <see cref="IAsyncResultFilter.
OnResultExecutionAsync
"/> calls.
Microsoft.AspNetCore.Mvc.Core (2)
Filters\ControllerResultFilter.cs (1)
35
return asyncResultFilter.
OnResultExecutionAsync
(context, next);
Infrastructure\ResourceInvoker.cs (1)
1180
var task = filter.
OnResultExecutionAsync
(resultExecutingContext, InvokeNextResultFilterAwaitedAsync<TFilter, TFilterAsync>);
Microsoft.AspNetCore.Mvc.Core.TestCommon (34)
CommonFilterTest.cs (6)
88
.Setup(f => f.
OnResultExecutionAsync
(
105
await mock.As<IAsyncResultFilter>().Object.
OnResultExecutionAsync
(context, next);
122
.Setup(f => f.
OnResultExecutionAsync
(
143
await mock.As<IAsyncResultFilter>().Object.
OnResultExecutionAsync
(context, next);
160
.Setup(f => f.
OnResultExecutionAsync
(
181
await mock.As<IAsyncResultFilter>().Object.
OnResultExecutionAsync
(context, next);
CommonResourceInvokerTest.cs (28)
784
.Setup(f => f.
OnResultExecutionAsync
(It.IsAny<ResultExecutingContext>(), It.IsAny<ResultExecutionDelegate>()))
795
f => f.
OnResultExecutionAsync
(It.IsAny<ResultExecutingContext>(), It.IsAny<ResultExecutionDelegate>()),
854
.Setup(f => f.
OnResultExecutionAsync
(It.IsAny<ResultExecutingContext>(), It.IsAny<ResultExecutionDelegate>()))
875
f => f.
OnResultExecutionAsync
(It.IsAny<ResultExecutingContext>(), It.IsAny<ResultExecutionDelegate>()),
897
.Setup(f => f.
OnResultExecutionAsync
(It.IsAny<ResultExecutingContext>(), It.IsAny<ResultExecutionDelegate>()))
917
f => f.
OnResultExecutionAsync
(It.IsAny<ResultExecutingContext>(), It.IsAny<ResultExecutionDelegate>()),
930
.Setup(f => f.
OnResultExecutionAsync
(It.IsAny<ResultExecutingContext>(), It.IsAny<ResultExecutionDelegate>()))
1044
.Setup(f => f.
OnResultExecutionAsync
(It.IsAny<ResultExecutingContext>(), It.IsAny<ResultExecutionDelegate>()))
1068
f => f.
OnResultExecutionAsync
(It.IsAny<ResultExecutingContext>(), It.IsAny<ResultExecutionDelegate>()),
1124
.Setup(f => f.
OnResultExecutionAsync
(It.IsAny<ResultExecutingContext>(), It.IsAny<ResultExecutionDelegate>()))
1152
f => f.
OnResultExecutionAsync
(It.IsAny<ResultExecutingContext>(), It.IsAny<ResultExecutionDelegate>()),
1766
resultFilter.Setup(f => f.
OnResultExecutionAsync
(It.IsAny<ResultExecutingContext>(), It.IsAny<ResultExecutionDelegate>()))
1800
resultFilter2.Setup(f => f.
OnResultExecutionAsync
(It.IsAny<ResultExecutingContext>(), It.IsAny<ResultExecutionDelegate>()));
1803
resultFilter3.Setup(f => f.
OnResultExecutionAsync
(It.IsAny<ResultExecutingContext>(), It.IsAny<ResultExecutionDelegate>()))
1827
f => f.
OnResultExecutionAsync
(It.IsAny<ResultExecutingContext>(), It.IsAny<ResultExecutionDelegate>()),
1830
f => f.
OnResultExecutionAsync
(It.IsAny<ResultExecutingContext>(), It.IsAny<ResultExecutionDelegate>()),
1869
resultFilter.Setup(f => f.
OnResultExecutionAsync
(It.IsAny<ResultExecutingContext>(), It.IsAny<ResultExecutionDelegate>()))
1900
resultFilter2.Setup(f => f.
OnResultExecutionAsync
(It.IsAny<ResultExecutingContext>(), It.IsAny<ResultExecutionDelegate>()));
1903
resultFilter3.Setup(f => f.
OnResultExecutionAsync
(It.IsAny<ResultExecutingContext>(), It.IsAny<ResultExecutionDelegate>()))
1924
f => f.
OnResultExecutionAsync
(It.IsAny<ResultExecutingContext>(), It.IsAny<ResultExecutionDelegate>()),
1927
f => f.
OnResultExecutionAsync
(It.IsAny<ResultExecutingContext>(), It.IsAny<ResultExecutionDelegate>()),
1966
resultFilter.Setup(f => f.
OnResultExecutionAsync
(It.IsAny<ResultExecutingContext>(), It.IsAny<ResultExecutionDelegate>()))
1997
resultFilter2.Setup(f => f.
OnResultExecutionAsync
(It.IsAny<ResultExecutingContext>(), It.IsAny<ResultExecutionDelegate>()));
2000
resultFilter3.Setup(f => f.
OnResultExecutionAsync
(It.IsAny<ResultExecutingContext>(), It.IsAny<ResultExecutionDelegate>()))
2023
f => f.
OnResultExecutionAsync
(It.IsAny<ResultExecutingContext>(), It.IsAny<ResultExecutionDelegate>()),
2026
f => f.
OnResultExecutionAsync
(It.IsAny<ResultExecutingContext>(), It.IsAny<ResultExecutionDelegate>()),
2051
resultFilter3.Setup(f => f.
OnResultExecutionAsync
(It.IsAny<ResultExecutingContext>(), It.IsAny<ResultExecutionDelegate>()))
2056
resultFilter4.Setup(f => f.
OnResultExecutionAsync
(It.IsAny<ResultExecutingContext>(), It.IsAny<ResultExecutionDelegate>()))
Microsoft.AspNetCore.Mvc.RazorPages (1)
Filters\PageHandlerResultFIlter.cs (1)
30
return asyncResultFilter.
OnResultExecutionAsync
(context, next);
Microsoft.AspNetCore.Mvc.RazorPages.Test (3)
Filters\PageHandlerResultFilterTest.cs (1)
27
.Setup(f => f.
OnResultExecutionAsync
(It.IsAny<ResultExecutingContext>(), It.IsAny<ResultExecutionDelegate>()))
Infrastructure\PageActionInvokerTest.cs (2)
697
.Setup(f => f.
OnResultExecutionAsync
(It.IsAny<ResultExecutingContext>(), It.IsAny<ResultExecutionDelegate>()))
713
f => f.
OnResultExecutionAsync
(It.IsAny<ResultExecutingContext>(), It.IsAny<ResultExecutionDelegate>()),