11 implementations of OnActionExecuting
BasicWebSite (2)
Filters\ServiceActionFilter.cs (1)
21public void OnActionExecuting(ActionExecutingContext context)
RequestScopedFilter.cs (1)
23public void OnActionExecuting(ActionExecutingContext context)
Microsoft.AspNetCore.Mvc.Core (5)
Filters\ActionFilterAttribute.cs (1)
21public virtual void OnActionExecuting(ActionExecutingContext context)
Filters\OutputCacheFilter.cs (1)
26public void OnActionExecuting(ActionExecutingContext context)
Filters\ResponseCacheFilter.cs (1)
82public void OnActionExecuting(ActionExecutingContext context)
Infrastructure\ModelStateInvalidFilter.cs (1)
74public void OnActionExecuting(ActionExecutingContext context)
ModelBinding\UnsupportedContentTypeFilter.cs (1)
27public void OnActionExecuting(ActionExecutingContext context)
Microsoft.AspNetCore.Mvc.Core.Test (1)
ApplicationModels\DefaultApplicationModelProviderTest.cs (1)
1749public void OnActionExecuting(ActionExecutingContext context)
Microsoft.AspNetCore.Mvc.ViewFeatures (3)
Controller.cs (1)
322public virtual void OnActionExecuting(ActionExecutingContext context)
Filters\ControllerSaveTempDataPropertyFilter.cs (1)
20public void OnActionExecuting(ActionExecutingContext context)
Filters\ControllerViewDataAttributeFilter.cs (1)
23public 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)
52actionFilter.OnActionExecuting(context);
Infrastructure\ControllerActionInvoker.cs (1)
183filter.OnActionExecuting(actionExecutingContext);
Microsoft.AspNetCore.Mvc.Core.Test (46)
Infrastructure\ControllerActionInvokerTest.cs (46)
270filter.Setup(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>())).Verifiable(); 282filter.Verify(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>()), Times.Once()); 330actionFilter1.Setup(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>())).Verifiable(); 338.Setup(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>())) 361actionFilter1.Verify(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>()), Times.Once()); 364actionFilter2.Verify(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>()), Times.Once()); 387actionFilter1.Setup(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>())).Verifiable(); 427actionFilter1.Verify(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>()), Times.Once()); 450actionFilter1.Setup(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>())).Verifiable(); 484actionFilter1.Verify(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>()), Times.Once()); 532filter.Setup(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>())).Verifiable(); 551filter.Verify(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>()), Times.Once()); 566filter1.Setup(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>())).Verifiable(); 581.Setup(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>())) 591filter1.Verify(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>()), Times.Once()); 594filter2.Verify(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>()), Times.Once()); 622filter2.Setup(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>())).Verifiable(); 638filter2.Verify(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>()), Times.Once()); 655actionFilter.Setup(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>())).Verifiable(); 680actionFilter.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>())) 862filter.Setup(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>())).Verifiable(); 887filter.Setup(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>())).Verifiable(); 913filter.Setup(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>())).Verifiable(); 936filter.Setup(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>())).Verifiable(); 959filter.Setup(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>())).Verifiable(); 982filter.Setup(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>())).Verifiable(); 1006filter.Setup(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>())).Verifiable(); 1029filter.Setup(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>())).Verifiable(); 1056filter.Setup(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>())).Verifiable(); 1082filter.Setup(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>())).Verifiable(); 1109filter.Setup(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>())).Verifiable(); 1138filter.Setup(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>())).Verifiable(); 1166filter.Setup(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>())).Verifiable(); 1196filter.Setup(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>())).Verifiable(); 1219filter.Setup(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>())).Verifiable(); 1245filter.Setup(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>())).Verifiable(); 1275filter.Setup(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>())).Verifiable(); 1305filter.Setup(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>())).Verifiable(); 1334filter.Setup(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>())).Verifiable(); 1362filter.Setup(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>())).Verifiable(); 1457filter.Setup(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>())).Verifiable(); 1482filter.Setup(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>())).Verifiable(); 1506filter.Setup(f => f.OnActionExecuting(It.IsAny<ActionExecutingContext>())).Verifiable(); 1530filter.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>()))