10 implementations of OnPageHandlerExecuting
Microsoft.AspNetCore.Mvc.RazorPages (5)
Filters\PageResponseCacheFilter.cs (1)
86
public void
OnPageHandlerExecuting
(PageHandlerExecutingContext context)
Filters\PageSaveTempDataPropertyFilter.cs (1)
20
public void
OnPageHandlerExecuting
(PageHandlerExecutingContext context)
Filters\PageViewDataAttributeFilter.cs (1)
24
public void
OnPageHandlerExecuting
(PageHandlerExecutingContext context)
Infrastructure\HandleOptionsRequestsPageFilter.cs (1)
35
public void
OnPageHandlerExecuting
(PageHandlerExecutingContext context)
PageModel.cs (1)
1674
public virtual void
OnPageHandlerExecuting
(PageHandlerExecutingContext context)
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (1)
1184
public void
OnPageHandlerExecuting
(PageHandlerExecutingContext context)
RazorPagesWebSite (4)
ModelWithPageFilter.cs (1)
33
public void
OnPageHandlerExecuting
(PageHandlerExecutingContext context)
Pages\Filters\TestPageFilter.cs (1)
14
public void
OnPageHandlerExecuting
(PageHandlerExecutingContext context)
Pages\ShortCircuitPageAtPageFilter.cshtml.cs (1)
51
public void
OnPageHandlerExecuting
(PageHandlerExecutingContext context)
Pages\ViewDataAvailableAfterHandlerExecuted.cshtml.cs (1)
30
public 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)
63
pageFilter.
OnPageHandlerExecuting
(context);
Infrastructure\PageActionInvoker.cs (1)
542
filter.
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>()))
401
filter1.Verify(f => f.
OnPageHandlerExecuting
(It.IsAny<PageHandlerExecutingContext>()), Times.Once());
405
filter2.Verify(f => f.
OnPageHandlerExecuting
(It.IsAny<PageHandlerExecutingContext>()), Times.Once());
502
filter.Setup(f => f.
OnPageHandlerExecuting
(It.IsAny<PageHandlerExecutingContext>())).Verifiable();
514
filter.Verify(f => f.
OnPageHandlerExecuting
(It.IsAny<PageHandlerExecutingContext>()), Times.Once());
803
.Setup(f => f.
OnPageHandlerExecuting
(It.IsAny<PageHandlerExecutingContext>()))
818
f => f.
OnPageHandlerExecuting
(It.IsAny<PageHandlerExecutingContext>()),
842
pageFilter1.Setup(f => f.
OnPageHandlerExecuting
(It.IsAny<PageHandlerExecutingContext>())).Verifiable();
851
.Setup(f => f.
OnPageHandlerExecuting
(It.IsAny<PageHandlerExecutingContext>()))
875
pageFilter1.Verify(f => f.
OnPageHandlerExecuting
(It.IsAny<PageHandlerExecutingContext>()), Times.Once());
878
pageFilter2.Verify(f => f.
OnPageHandlerExecuting
(It.IsAny<PageHandlerExecutingContext>()), Times.Once());
902
pageFilter1.Setup(f => f.
OnPageHandlerExecuting
(It.IsAny<PageHandlerExecutingContext>())).Verifiable();
944
pageFilter1.Verify(f => f.
OnPageHandlerExecuting
(It.IsAny<PageHandlerExecutingContext>()), Times.Once());
968
pageFilter1.Setup(f => f.
OnPageHandlerExecuting
(It.IsAny<PageHandlerExecutingContext>())).Verifiable();
1004
pageFilter1.Verify(f => f.
OnPageHandlerExecuting
(It.IsAny<PageHandlerExecutingContext>()), Times.Once());
1054
filter.Setup(f => f.
OnPageHandlerExecuting
(It.IsAny<PageHandlerExecutingContext>())).Verifiable();
1074
filter.Verify(f => f.
OnPageHandlerExecuting
(It.IsAny<PageHandlerExecutingContext>()), Times.Once());
1090
filter1.Setup(f => f.
OnPageHandlerExecuting
(It.IsAny<PageHandlerExecutingContext>())).Verifiable();
1106
.Setup(f => f.
OnPageHandlerExecuting
(It.IsAny<PageHandlerExecutingContext>()))
1116
filter1.Verify(f => f.
OnPageHandlerExecuting
(It.IsAny<PageHandlerExecutingContext>()), Times.Once());
1119
filter2.Verify(f => f.
OnPageHandlerExecuting
(It.IsAny<PageHandlerExecutingContext>()), Times.Once());
1149
filter2.Setup(f => f.
OnPageHandlerExecuting
(It.IsAny<PageHandlerExecutingContext>())).Verifiable();
1165
filter2.Verify(f => f.
OnPageHandlerExecuting
(It.IsAny<PageHandlerExecutingContext>()), Times.Once());
1183
pageFilter.Setup(f => f.
OnPageHandlerExecuting
(It.IsAny<PageHandlerExecutingContext>())).Verifiable();
1208
pageFilter.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>()))