10 implementations of OnResultExecuting
BasicWebSite (2)
Filters\RedirectAntiforgeryValidationFailedResultFilter.cs (1)
12public void OnResultExecuting(ResultExecutingContext context)
Filters\UnprocessableResultFilter.cs (1)
15public void OnResultExecuting(ResultExecutingContext context)
Microsoft.AspNetCore.Mvc.Core (5)
Filters\ActionFilterAttribute.cs (1)
46public virtual void OnResultExecuting(ResultExecutingContext context)
Filters\ResultFilterAttribute.cs (1)
18public virtual void OnResultExecuting(ResultExecutingContext context)
Formatters\FormatFilter.cs (1)
132public void OnResultExecuting(ResultExecutingContext context)
Infrastructure\ClientErrorResultFilter.cs (1)
32public void OnResultExecuting(ResultExecutingContext context)
ProducesAttribute.cs (1)
70public virtual void OnResultExecuting(ResultExecutingContext context)
Microsoft.AspNetCore.Mvc.Core.Test (1)
ApplicationModels\DefaultApplicationModelProviderTest.cs (1)
1806public void OnResultExecuting(ResultExecutingContext context)
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Filters\SaveTempDataFilter.cs (1)
95public void OnResultExecuting(ResultExecutingContext context)
RazorPagesWebSite (1)
ModelAsFilter.cs (1)
30public void OnResultExecuting(ResultExecutingContext context)
73 references to OnResultExecuting
Microsoft.AspNetCore.Mvc.Abstractions (1)
Filters\ResultExecutingContext.cs (1)
7/// A context for result filters, specifically <see cref="IResultFilter.OnResultExecuting"/> and
Microsoft.AspNetCore.Mvc.Core (4)
Diagnostics\MvcDiagnostics.cs (2)
1142/// An <see cref="EventData"/> that occurs before <see cref="IResultFilter.OnResultExecuting(ResultExecutingContext)"/>. 1193/// An <see cref="EventData"/> that occurs after <see cref="IResultFilter.OnResultExecuting(ResultExecutingContext)"/>.
Filters\ControllerResultFilter.cs (1)
52resultFilter.OnResultExecuting(context);
Infrastructure\ResourceInvoker.cs (1)
1237filter.OnResultExecuting(resultExecutingContext);
Microsoft.AspNetCore.Mvc.Core.Test (10)
Infrastructure\ControllerActionInvokerTest.cs (10)
345resultFilter.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())).Verifiable(); 367resultFilter.Verify(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>()), Times.Once()); 407resultFilter1.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())).Verifiable(); 410resultFilter2.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())).Verifiable(); 434resultFilter1.Verify(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>()), Times.Once()); 436resultFilter2.Verify(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>()), Times.Once()); 469resultFilter.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())).Verifiable(); 491resultFilter.Verify(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>()), Times.Once()); 669resultFilter.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())).Verifiable(); 683resultFilter.Verify(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>()), Times.Once());
Microsoft.AspNetCore.Mvc.Core.TestCommon (40)
CommonFilterTest.cs (6)
94.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())) 111.Verify(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>()), Times.Once()); 128.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())) 149.Verify(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>()), Times.Once()); 166.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())) 187.Verify(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>()), Times.Once());
CommonResourceInvokerTest.cs (34)
571resultFilter.Verify(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>()), Times.Once()); 765filter.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())).Verifiable(); 774filter.Verify(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>()), Times.Once()); 806filter1.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())).Verifiable(); 814.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())) 830filter1.Verify(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>()), Times.Once()); 833filter2.Verify(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>()), Times.Once()); 846filter1.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())).Verifiable(); 871filter1.Verify(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>()), Times.Once()); 889filter1.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())).Verifiable(); 913filter1.Verify(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>()), Times.Once()); 966.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())) 980filter.Verify(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>()), Times.Once()); 999.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())) 1025filter.Verify(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>()), Times.Once()); 1080resultFilter1.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())).Verifiable(); 1095.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())) 1109resultFilter1.Verify(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>()), Times.Once()); 1112resultFilter2.Verify(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>()), Times.Once()); 1137.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())) 1155resultFilter2.Verify(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>()), Times.Once()); 1293.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())) 1360.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())) 1736resultFilter.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())) 1796resultFilter1.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())); 1821f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>()), 1839resultFilter.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())) 1896resultFilter1.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())); 1918f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>()), 1936resultFilter.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())) 1993resultFilter1.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())); 2017f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>()), 2036.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())) 2044.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>()))
Microsoft.AspNetCore.Mvc.RazorPages (1)
Filters\PageHandlerResultFIlter.cs (1)
47resultFilter.OnResultExecuting(context);
Microsoft.AspNetCore.Mvc.RazorPages.Test (17)
Filters\PageHandlerResultFilterTest.cs (2)
65.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())) 106.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>()))
Infrastructure\PageActionInvokerTest.cs (15)
177.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())) 233.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())) 290.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())) 732.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())) 747f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>()), 859resultFilter.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())).Verifiable(); 881resultFilter.Verify(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>()), Times.Once()); 924resultFilter1.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())).Verifiable(); 927resultFilter2.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())).Verifiable(); 951resultFilter1.Verify(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>()), Times.Once()); 953resultFilter2.Verify(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>()), Times.Once()); 989resultFilter.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())).Verifiable(); 1011resultFilter.Verify(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>()), Times.Once()); 1197resultFilter.Setup(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>())).Verifiable(); 1211resultFilter.Verify(f => f.OnResultExecuting(It.IsAny<ResultExecutingContext>()), Times.Once());