10 implementations of OnResultExecuting
BasicWebSite (2)
Filters\RedirectAntiforgeryValidationFailedResultFilter.cs (1)
12
public void
OnResultExecuting
(ResultExecutingContext context)
Filters\UnprocessableResultFilter.cs (1)
15
public void
OnResultExecuting
(ResultExecutingContext context)
Microsoft.AspNetCore.Mvc.Core (5)
Filters\ActionFilterAttribute.cs (1)
46
public virtual void
OnResultExecuting
(ResultExecutingContext context)
Filters\ResultFilterAttribute.cs (1)
18
public virtual void
OnResultExecuting
(ResultExecutingContext context)
Formatters\FormatFilter.cs (1)
132
public void
OnResultExecuting
(ResultExecutingContext context)
Infrastructure\ClientErrorResultFilter.cs (1)
32
public void
OnResultExecuting
(ResultExecutingContext context)
ProducesAttribute.cs (1)
70
public virtual void
OnResultExecuting
(ResultExecutingContext context)
Microsoft.AspNetCore.Mvc.Core.Test (1)
ApplicationModels\DefaultApplicationModelProviderTest.cs (1)
1806
public void
OnResultExecuting
(ResultExecutingContext context)
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Filters\SaveTempDataFilter.cs (1)
95
public void
OnResultExecuting
(ResultExecutingContext context)
RazorPagesWebSite (1)
ModelAsFilter.cs (1)
30
public 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)
52
resultFilter.
OnResultExecuting
(context);
Infrastructure\ResourceInvoker.cs (1)
1237
filter.
OnResultExecuting
(resultExecutingContext);
Microsoft.AspNetCore.Mvc.Core.Test (10)
Infrastructure\ControllerActionInvokerTest.cs (10)
345
resultFilter.Setup(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>())).Verifiable();
367
resultFilter.Verify(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>()), Times.Once());
407
resultFilter1.Setup(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>())).Verifiable();
410
resultFilter2.Setup(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>())).Verifiable();
434
resultFilter1.Verify(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>()), Times.Once());
436
resultFilter2.Verify(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>()), Times.Once());
469
resultFilter.Setup(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>())).Verifiable();
491
resultFilter.Verify(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>()), Times.Once());
669
resultFilter.Setup(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>())).Verifiable();
683
resultFilter.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)
571
resultFilter.Verify(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>()), Times.Once());
765
filter.Setup(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>())).Verifiable();
774
filter.Verify(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>()), Times.Once());
806
filter1.Setup(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>())).Verifiable();
814
.Setup(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>()))
830
filter1.Verify(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>()), Times.Once());
833
filter2.Verify(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>()), Times.Once());
846
filter1.Setup(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>())).Verifiable();
871
filter1.Verify(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>()), Times.Once());
889
filter1.Setup(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>())).Verifiable();
913
filter1.Verify(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>()), Times.Once());
966
.Setup(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>()))
980
filter.Verify(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>()), Times.Once());
999
.Setup(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>()))
1025
filter.Verify(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>()), Times.Once());
1080
resultFilter1.Setup(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>())).Verifiable();
1095
.Setup(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>()))
1109
resultFilter1.Verify(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>()), Times.Once());
1112
resultFilter2.Verify(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>()), Times.Once());
1137
.Setup(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>()))
1155
resultFilter2.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>()))
1736
resultFilter.Setup(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>()))
1796
resultFilter1.Setup(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>()));
1821
f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>()),
1839
resultFilter.Setup(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>()))
1896
resultFilter1.Setup(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>()));
1918
f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>()),
1936
resultFilter.Setup(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>()))
1993
resultFilter1.Setup(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>()));
2017
f => 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)
47
resultFilter.
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>()))
747
f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>()),
859
resultFilter.Setup(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>())).Verifiable();
881
resultFilter.Verify(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>()), Times.Once());
924
resultFilter1.Setup(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>())).Verifiable();
927
resultFilter2.Setup(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>())).Verifiable();
951
resultFilter1.Verify(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>()), Times.Once());
953
resultFilter2.Verify(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>()), Times.Once());
989
resultFilter.Setup(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>())).Verifiable();
1011
resultFilter.Verify(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>()), Times.Once());
1197
resultFilter.Setup(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>())).Verifiable();
1211
resultFilter.Verify(f => f.
OnResultExecuting
(It.IsAny<ResultExecutingContext>()), Times.Once());