10 implementations of OnPageHandlerExecuting
Microsoft.AspNetCore.Mvc.RazorPages (5)
Filters\PageResponseCacheFilter.cs (1)
86public void OnPageHandlerExecuting(PageHandlerExecutingContext context)
Filters\PageSaveTempDataPropertyFilter.cs (1)
20public void OnPageHandlerExecuting(PageHandlerExecutingContext context)
Filters\PageViewDataAttributeFilter.cs (1)
24public void OnPageHandlerExecuting(PageHandlerExecutingContext context)
Infrastructure\HandleOptionsRequestsPageFilter.cs (1)
35public void OnPageHandlerExecuting(PageHandlerExecutingContext context)
PageModel.cs (1)
1674public virtual void OnPageHandlerExecuting(PageHandlerExecutingContext context)
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (1)
1184public void OnPageHandlerExecuting(PageHandlerExecutingContext context)
RazorPagesWebSite (4)
ModelWithPageFilter.cs (1)
33public void OnPageHandlerExecuting(PageHandlerExecutingContext context)
Pages\Filters\TestPageFilter.cs (1)
14public void OnPageHandlerExecuting(PageHandlerExecutingContext context)
Pages\ShortCircuitPageAtPageFilter.cshtml.cs (1)
51public void OnPageHandlerExecuting(PageHandlerExecutingContext context)
Pages\ViewDataAvailableAfterHandlerExecuted.cshtml.cs (1)
30public void OnPageHandlerExecuting(PageHandlerExecutingContext context)
37 references to OnPageHandlerExecuting
Microsoft.AspNetCore.Mvc.RazorPages (3)
Filters\PageHandlerExecutingContext.cs (1)
11/// <see cref="IPageFilter.OnPageHandlerExecuting(PageHandlerExecutingContext)"/> and
Filters\PageHandlerPageFilter.cs (1)
63pageFilter.OnPageHandlerExecuting(context);
Infrastructure\PageActionInvoker.cs (1)
542filter.OnPageHandlerExecuting(handlerExecutingContext);
Microsoft.AspNetCore.Mvc.RazorPages.Test (34)
Infrastructure\PageActionInvokerTest.cs (32)
163.Setup(f => f.OnPageHandlerExecuting(It.IsAny<PageHandlerExecutingContext>())) 219.Setup(f => f.OnPageHandlerExecuting(It.IsAny<PageHandlerExecutingContext>())) 276.Setup(f => f.OnPageHandlerExecuting(It.IsAny<PageHandlerExecutingContext>())) 337.Setup(f => f.OnPageHandlerExecuting(It.IsAny<PageHandlerExecutingContext>())) 370.Setup(f => f.OnPageHandlerExecuting(It.IsAny<PageHandlerExecutingContext>())) 384.Setup(f => f.OnPageHandlerExecuting(It.IsAny<PageHandlerExecutingContext>())) 401filter1.Verify(f => f.OnPageHandlerExecuting(It.IsAny<PageHandlerExecutingContext>()), Times.Once()); 405filter2.Verify(f => f.OnPageHandlerExecuting(It.IsAny<PageHandlerExecutingContext>()), Times.Once()); 502filter.Setup(f => f.OnPageHandlerExecuting(It.IsAny<PageHandlerExecutingContext>())).Verifiable(); 514filter.Verify(f => f.OnPageHandlerExecuting(It.IsAny<PageHandlerExecutingContext>()), Times.Once()); 803.Setup(f => f.OnPageHandlerExecuting(It.IsAny<PageHandlerExecutingContext>())) 818f => f.OnPageHandlerExecuting(It.IsAny<PageHandlerExecutingContext>()), 842pageFilter1.Setup(f => f.OnPageHandlerExecuting(It.IsAny<PageHandlerExecutingContext>())).Verifiable(); 851.Setup(f => f.OnPageHandlerExecuting(It.IsAny<PageHandlerExecutingContext>())) 875pageFilter1.Verify(f => f.OnPageHandlerExecuting(It.IsAny<PageHandlerExecutingContext>()), Times.Once()); 878pageFilter2.Verify(f => f.OnPageHandlerExecuting(It.IsAny<PageHandlerExecutingContext>()), Times.Once()); 902pageFilter1.Setup(f => f.OnPageHandlerExecuting(It.IsAny<PageHandlerExecutingContext>())).Verifiable(); 944pageFilter1.Verify(f => f.OnPageHandlerExecuting(It.IsAny<PageHandlerExecutingContext>()), Times.Once()); 968pageFilter1.Setup(f => f.OnPageHandlerExecuting(It.IsAny<PageHandlerExecutingContext>())).Verifiable(); 1004pageFilter1.Verify(f => f.OnPageHandlerExecuting(It.IsAny<PageHandlerExecutingContext>()), Times.Once()); 1054filter.Setup(f => f.OnPageHandlerExecuting(It.IsAny<PageHandlerExecutingContext>())).Verifiable(); 1074filter.Verify(f => f.OnPageHandlerExecuting(It.IsAny<PageHandlerExecutingContext>()), Times.Once()); 1090filter1.Setup(f => f.OnPageHandlerExecuting(It.IsAny<PageHandlerExecutingContext>())).Verifiable(); 1106.Setup(f => f.OnPageHandlerExecuting(It.IsAny<PageHandlerExecutingContext>())) 1116filter1.Verify(f => f.OnPageHandlerExecuting(It.IsAny<PageHandlerExecutingContext>()), Times.Once()); 1119filter2.Verify(f => f.OnPageHandlerExecuting(It.IsAny<PageHandlerExecutingContext>()), Times.Once()); 1149filter2.Setup(f => f.OnPageHandlerExecuting(It.IsAny<PageHandlerExecutingContext>())).Verifiable(); 1165filter2.Verify(f => f.OnPageHandlerExecuting(It.IsAny<PageHandlerExecutingContext>()), Times.Once()); 1183pageFilter.Setup(f => f.OnPageHandlerExecuting(It.IsAny<PageHandlerExecutingContext>())).Verifiable(); 1208pageFilter.Verify(f => f.OnPageHandlerExecuting(It.IsAny<PageHandlerExecutingContext>()), Times.Once()); 1236.Setup(f => f.OnPageHandlerExecuting(It.IsAny<PageHandlerExecutingContext>())) 1275.Setup(f => f.OnPageHandlerExecuting(It.IsAny<PageHandlerExecutingContext>()))
Infrastructure\PageHandlerPageFilterTest.cs (2)
66.Setup(f => f.OnPageHandlerExecuting(It.IsAny<PageHandlerExecutingContext>())) 108.Setup(f => f.OnPageHandlerExecuting(It.IsAny<PageHandlerExecutingContext>()))