11 implementations of OnActionExecuting
BasicWebSite (2)
Filters\ServiceActionFilter.cs (1)
21
public void
OnActionExecuting
(ActionExecutingContext context)
RequestScopedFilter.cs (1)
23
public void
OnActionExecuting
(ActionExecutingContext context)
Microsoft.AspNetCore.Mvc.Core (5)
Filters\ActionFilterAttribute.cs (1)
21
public virtual void
OnActionExecuting
(ActionExecutingContext context)
Filters\OutputCacheFilter.cs (1)
26
public void
OnActionExecuting
(ActionExecutingContext context)
Filters\ResponseCacheFilter.cs (1)
82
public void
OnActionExecuting
(ActionExecutingContext context)
Infrastructure\ModelStateInvalidFilter.cs (1)
74
public void
OnActionExecuting
(ActionExecutingContext context)
ModelBinding\UnsupportedContentTypeFilter.cs (1)
27
public void
OnActionExecuting
(ActionExecutingContext context)
Microsoft.AspNetCore.Mvc.Core.Test (1)
ApplicationModels\DefaultApplicationModelProviderTest.cs (1)
1749
public void
OnActionExecuting
(ActionExecutingContext context)
Microsoft.AspNetCore.Mvc.ViewFeatures (3)
Controller.cs (1)
322
public virtual void
OnActionExecuting
(ActionExecutingContext context)
Filters\ControllerSaveTempDataPropertyFilter.cs (1)
20
public void
OnActionExecuting
(ActionExecutingContext context)
Filters\ControllerViewDataAttributeFilter.cs (1)
23
public void
OnActionExecuting
(ActionExecutingContext context)
55 references to OnActionExecuting
Microsoft.AspNetCore.Mvc.Abstractions (2)
Filters\ActionExecutingContext.cs (1)
9
/// A context for action filters, specifically <see cref="IActionFilter.
OnActionExecuting
"/> and
Filters\IOrderedFilter.cs (1)
27
/// <see cref="IActionFilter.
OnActionExecuting
"/>, and an after-method, such as
Microsoft.AspNetCore.Mvc.Core (4)
Diagnostics\MvcDiagnostics.cs (2)
726
/// An <see cref="EventData"/> that occurs before <see cref="IActionFilter.
OnActionExecuting
(ActionExecutingContext)"/>.
777
/// An <see cref="EventData"/> that occurs after <see cref="IActionFilter.
OnActionExecuting
(ActionExecutingContext)"/>.
Filters\ControllerActionFilter.cs (1)
52
actionFilter.
OnActionExecuting
(context);
Infrastructure\ControllerActionInvoker.cs (1)
183
filter.
OnActionExecuting
(actionExecutingContext);
Microsoft.AspNetCore.Mvc.Core.Test (46)
Infrastructure\ControllerActionInvokerTest.cs (46)
270
filter.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>())).Verifiable();
282
filter.Verify(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>()), Times.Once());
330
actionFilter1.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>())).Verifiable();
338
.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>()))
361
actionFilter1.Verify(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>()), Times.Once());
364
actionFilter2.Verify(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>()), Times.Once());
387
actionFilter1.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>())).Verifiable();
427
actionFilter1.Verify(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>()), Times.Once());
450
actionFilter1.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>())).Verifiable();
484
actionFilter1.Verify(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>()), Times.Once());
532
filter.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>())).Verifiable();
551
filter.Verify(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>()), Times.Once());
566
filter1.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>())).Verifiable();
581
.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>()))
591
filter1.Verify(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>()), Times.Once());
594
filter2.Verify(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>()), Times.Once());
622
filter2.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>())).Verifiable();
638
filter2.Verify(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>()), Times.Once());
655
actionFilter.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>())).Verifiable();
680
actionFilter.Verify(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>()), Times.Once());
707
.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>()))
745
.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>()))
862
filter.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>())).Verifiable();
887
filter.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>())).Verifiable();
913
filter.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>())).Verifiable();
936
filter.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>())).Verifiable();
959
filter.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>())).Verifiable();
982
filter.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>())).Verifiable();
1006
filter.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>())).Verifiable();
1029
filter.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>())).Verifiable();
1056
filter.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>())).Verifiable();
1082
filter.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>())).Verifiable();
1109
filter.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>())).Verifiable();
1138
filter.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>())).Verifiable();
1166
filter.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>())).Verifiable();
1196
filter.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>())).Verifiable();
1219
filter.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>())).Verifiable();
1245
filter.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>())).Verifiable();
1275
filter.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>())).Verifiable();
1305
filter.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>())).Verifiable();
1334
filter.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>())).Verifiable();
1362
filter.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>())).Verifiable();
1457
filter.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>())).Verifiable();
1482
filter.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>())).Verifiable();
1506
filter.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>())).Verifiable();
1530
filter.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>())).Verifiable();
Microsoft.AspNetCore.Mvc.Core.TestCommon (3)
CommonFilterTest.cs (3)
25
.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>()))
42
.Verify(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>()), Times.Once());
59
.Setup(f => f.
OnActionExecuting
(It.IsAny<ActionExecutingContext>()))