10 implementations of OnResultExecuted
BasicWebSite (2)
Filters\RedirectAntiforgeryValidationFailedResultFilter.cs (1)
20
public void
OnResultExecuted
(ResultExecutedContext context)
Filters\UnprocessableResultFilter.cs (1)
11
public void
OnResultExecuted
(ResultExecutedContext context)
Microsoft.AspNetCore.Mvc.Core (5)
Filters\ActionFilterAttribute.cs (1)
51
public virtual void
OnResultExecuted
(ResultExecutedContext context)
Filters\ResultFilterAttribute.cs (1)
23
public virtual void
OnResultExecuted
(ResultExecutedContext context)
Formatters\FormatFilter.cs (1)
166
public void
OnResultExecuted
(ResultExecutedContext context)
Infrastructure\ClientErrorResultFilter.cs (1)
28
public void
OnResultExecuted
(ResultExecutedContext context)
ProducesAttribute.cs (1)
93
public virtual void
OnResultExecuted
(ResultExecutedContext context)
Microsoft.AspNetCore.Mvc.Core.Test (1)
ApplicationModels\DefaultApplicationModelProviderTest.cs (1)
1802
public void
OnResultExecuted
(ResultExecutedContext context)
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Filters\SaveTempDataFilter.cs (1)
100
public void
OnResultExecuted
(ResultExecutedContext context)
RazorPagesWebSite (1)
ModelAsFilter.cs (1)
26
public void
OnResultExecuted
(ResultExecutedContext context)
63 references to OnResultExecuted
Microsoft.AspNetCore.Mvc.Abstractions (1)
Filters\ResultExecutedContext.cs (1)
9
/// A context for result filters, specifically <see cref="IResultFilter.
OnResultExecuted
"/> calls.
Microsoft.AspNetCore.Mvc.Core (4)
Diagnostics\MvcDiagnostics.cs (2)
1244
/// An <see cref="EventData"/> that occurs before <see cref="IResultFilter.
OnResultExecuted
(ResultExecutedContext)"/>.
1295
/// An <see cref="EventData"/> that occurs after <see cref="IResultFilter.
OnResultExecuted
(ResultExecutedContext)"/>.
Filters\ControllerResultFilter.cs (1)
55
resultFilter.
OnResultExecuted
(await next());
Infrastructure\ResourceInvoker.cs (1)
1287
filter.
OnResultExecuted
(resultExecutedContext);
Microsoft.AspNetCore.Mvc.Core.Test (10)
Infrastructure\ControllerActionInvokerTest.cs (10)
346
resultFilter.Setup(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>())).Verifiable();
368
resultFilter.Verify(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()), Times.Once());
408
resultFilter1.Setup(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>())).Verifiable();
411
resultFilter2.Setup(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>())).Verifiable();
435
resultFilter1.Verify(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()), Times.Once());
437
resultFilter2.Verify(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()), Times.Once());
470
resultFilter.Setup(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>())).Verifiable();
492
resultFilter.Verify(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()), Times.Once());
670
resultFilter.Setup(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>())).Verifiable();
684
resultFilter.Verify(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()), Times.Once());
Microsoft.AspNetCore.Mvc.Core.TestCommon (32)
CommonFilterTest.cs (6)
98
.Setup(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()))
114
.Verify(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()), Times.Once());
136
.Setup(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()))
152
.Verify(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()), Times.Once());
174
.Setup(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()))
190
.Verify(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()), Times.Never());
CommonResourceInvokerTest.cs (26)
766
filter.Setup(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>())).Verifiable();
775
filter.Verify(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()), Times.Once());
808
.Setup(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()))
831
filter1.Verify(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()), Times.Once());
834
filter2.Verify(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()), Times.Never());
848
.Setup(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()))
872
filter1.Verify(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()), Times.Once());
891
.Setup(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()))
914
filter1.Verify(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()), Times.Once());
970
filter.Setup(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>())).Verifiable();
981
filter.Verify(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()), Times.Once());
1004
.Setup(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()))
1026
filter.Verify(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()), Times.Once());
1082
.Setup(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()))
1110
resultFilter1.Verify(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()), Times.Once());
1739
resultFilter.Setup(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()))
1797
resultFilter1.Setup(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()));
1824
f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()),
1842
resultFilter.Setup(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()))
1897
resultFilter1.Setup(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()));
1921
f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()),
1939
resultFilter.Setup(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()))
1994
resultFilter1.Setup(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()));
2020
f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()),
2039
.Setup(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()))
2047
.Setup(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()))
Microsoft.AspNetCore.Mvc.RazorPages (1)
Filters\PageHandlerResultFIlter.cs (1)
50
resultFilter.
OnResultExecuted
(await next());
Microsoft.AspNetCore.Mvc.RazorPages.Test (15)
Filters\PageHandlerResultFilterTest.cs (2)
69
.Setup(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()))
111
.Setup(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()))
Infrastructure\PageActionInvokerTest.cs (13)
184
.Setup(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()))
240
.Setup(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()))
297
.Setup(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()))
860
resultFilter.Setup(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>())).Verifiable();
882
resultFilter.Verify(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()), Times.Once());
925
resultFilter1.Setup(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>())).Verifiable();
928
resultFilter2.Setup(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>())).Verifiable();
952
resultFilter1.Verify(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()), Times.Once());
954
resultFilter2.Verify(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()), Times.Once());
990
resultFilter.Setup(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>())).Verifiable();
1012
resultFilter.Verify(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()), Times.Once());
1198
resultFilter.Setup(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>())).Verifiable();
1212
resultFilter.Verify(f => f.
OnResultExecuted
(It.IsAny<ResultExecutedContext>()), Times.Once());