10 implementations of OnResultExecuted
BasicWebSite (2)
Filters\RedirectAntiforgeryValidationFailedResultFilter.cs (1)
20public void OnResultExecuted(ResultExecutedContext context)
Filters\UnprocessableResultFilter.cs (1)
11public void OnResultExecuted(ResultExecutedContext context)
Microsoft.AspNetCore.Mvc.Core (5)
Filters\ActionFilterAttribute.cs (1)
51public virtual void OnResultExecuted(ResultExecutedContext context)
Filters\ResultFilterAttribute.cs (1)
23public virtual void OnResultExecuted(ResultExecutedContext context)
Formatters\FormatFilter.cs (1)
166public void OnResultExecuted(ResultExecutedContext context)
Infrastructure\ClientErrorResultFilter.cs (1)
28public void OnResultExecuted(ResultExecutedContext context)
ProducesAttribute.cs (1)
93public virtual void OnResultExecuted(ResultExecutedContext context)
Microsoft.AspNetCore.Mvc.Core.Test (1)
ApplicationModels\DefaultApplicationModelProviderTest.cs (1)
1802public void OnResultExecuted(ResultExecutedContext context)
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Filters\SaveTempDataFilter.cs (1)
100public void OnResultExecuted(ResultExecutedContext context)
RazorPagesWebSite (1)
ModelAsFilter.cs (1)
26public 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)
55resultFilter.OnResultExecuted(await next());
Infrastructure\ResourceInvoker.cs (1)
1287filter.OnResultExecuted(resultExecutedContext);
Microsoft.AspNetCore.Mvc.Core.Test (10)
Infrastructure\ControllerActionInvokerTest.cs (10)
346resultFilter.Setup(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>())).Verifiable(); 368resultFilter.Verify(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>()), Times.Once()); 408resultFilter1.Setup(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>())).Verifiable(); 411resultFilter2.Setup(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>())).Verifiable(); 435resultFilter1.Verify(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>()), Times.Once()); 437resultFilter2.Verify(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>()), Times.Once()); 470resultFilter.Setup(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>())).Verifiable(); 492resultFilter.Verify(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>()), Times.Once()); 670resultFilter.Setup(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>())).Verifiable(); 684resultFilter.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)
766filter.Setup(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>())).Verifiable(); 775filter.Verify(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>()), Times.Once()); 808.Setup(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>())) 831filter1.Verify(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>()), Times.Once()); 834filter2.Verify(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>()), Times.Never()); 848.Setup(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>())) 872filter1.Verify(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>()), Times.Once()); 891.Setup(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>())) 914filter1.Verify(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>()), Times.Once()); 970filter.Setup(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>())).Verifiable(); 981filter.Verify(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>()), Times.Once()); 1004.Setup(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>())) 1026filter.Verify(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>()), Times.Once()); 1082.Setup(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>())) 1110resultFilter1.Verify(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>()), Times.Once()); 1739resultFilter.Setup(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>())) 1797resultFilter1.Setup(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>())); 1824f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>()), 1842resultFilter.Setup(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>())) 1897resultFilter1.Setup(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>())); 1921f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>()), 1939resultFilter.Setup(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>())) 1994resultFilter1.Setup(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>())); 2020f => 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)
50resultFilter.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>())) 860resultFilter.Setup(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>())).Verifiable(); 882resultFilter.Verify(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>()), Times.Once()); 925resultFilter1.Setup(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>())).Verifiable(); 928resultFilter2.Setup(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>())).Verifiable(); 952resultFilter1.Verify(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>()), Times.Once()); 954resultFilter2.Verify(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>()), Times.Once()); 990resultFilter.Setup(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>())).Verifiable(); 1012resultFilter.Verify(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>()), Times.Once()); 1198resultFilter.Setup(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>())).Verifiable(); 1212resultFilter.Verify(f => f.OnResultExecuted(It.IsAny<ResultExecutedContext>()), Times.Once());