10 implementations of OnPageHandlerExecuted
Microsoft.AspNetCore.Mvc.RazorPages (5)
Filters\PageResponseCacheFilter.cs (1)
99
public void
OnPageHandlerExecuted
(PageHandlerExecutedContext context)
Filters\PageSaveTempDataPropertyFilter.cs (1)
28
public void
OnPageHandlerExecuted
(PageHandlerExecutedContext context)
Filters\PageViewDataAttributeFilter.cs (1)
20
public void
OnPageHandlerExecuted
(PageHandlerExecutedContext context)
Infrastructure\HandleOptionsRequestsPageFilter.cs (1)
31
public void
OnPageHandlerExecuted
(PageHandlerExecutedContext context)
PageModel.cs (1)
1682
public virtual void
OnPageHandlerExecuted
(PageHandlerExecutedContext context)
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (1)
1179
public void
OnPageHandlerExecuted
(PageHandlerExecutedContext context)
RazorPagesWebSite (4)
ModelWithPageFilter.cs (1)
37
public void
OnPageHandlerExecuted
(PageHandlerExecutedContext context)
Pages\Filters\TestPageFilter.cs (1)
10
public void
OnPageHandlerExecuted
(PageHandlerExecutedContext context)
Pages\ShortCircuitPageAtPageFilter.cshtml.cs (1)
59
public void
OnPageHandlerExecuted
(PageHandlerExecutedContext context)
Pages\ViewDataAvailableAfterHandlerExecuted.cshtml.cs (1)
20
public void
OnPageHandlerExecuted
(PageHandlerExecutedContext context)
30 references to OnPageHandlerExecuted
Microsoft.AspNetCore.Mvc.RazorPages (3)
Filters\PageHandlerExecutedContext.cs (1)
12
/// <see cref="IPageFilter.
OnPageHandlerExecuted
(PageHandlerExecutedContext)"/> and
Filters\PageHandlerPageFilter.cs (1)
66
pageFilter.
OnPageHandlerExecuted
(await next());
Infrastructure\PageActionInvoker.cs (1)
593
filter.
OnPageHandlerExecuted
(handlerExecutedContext);
Microsoft.AspNetCore.Mvc.RazorPages.Test (27)
Infrastructure\PageActionInvokerTest.cs (25)
169
.Setup(f => f.
OnPageHandlerExecuted
(It.IsAny<PageHandlerExecutedContext>()))
225
.Setup(f => f.
OnPageHandlerExecuted
(It.IsAny<PageHandlerExecutedContext>()))
282
.Setup(f => f.
OnPageHandlerExecuted
(It.IsAny<PageHandlerExecutedContext>()))
374
.Setup(f => f.
OnPageHandlerExecuted
(It.IsAny<PageHandlerExecutedContext>()))
388
.Setup(f => f.
OnPageHandlerExecuted
(It.IsAny<PageHandlerExecutedContext>()))
402
filter1.Verify(f => f.
OnPageHandlerExecuted
(It.IsAny<PageHandlerExecutedContext>()), Times.Once());
406
filter2.Verify(f => f.
OnPageHandlerExecuted
(It.IsAny<PageHandlerExecutedContext>()), Times.Once());
475
.Setup(f => f.
OnPageHandlerExecuted
(It.IsAny<PageHandlerExecutedContext>()))
504
.Setup(f => f.
OnPageHandlerExecuted
(It.IsAny<PageHandlerExecutedContext>()))
515
filter.Verify(f => f.
OnPageHandlerExecuted
(It.IsAny<PageHandlerExecutedContext>()), Times.Once());
844
.Setup(f => f.
OnPageHandlerExecuted
(It.IsAny<PageHandlerExecutedContext>()))
876
pageFilter1.Verify(f => f.
OnPageHandlerExecuted
(It.IsAny<PageHandlerExecutedContext>()), Times.Once());
879
pageFilter2.Verify(f => f.
OnPageHandlerExecuted
(It.IsAny<PageHandlerExecutedContext>()), Times.Never());
904
.Setup(f => f.
OnPageHandlerExecuted
(It.IsAny<PageHandlerExecutedContext>()))
945
pageFilter1.Verify(f => f.
OnPageHandlerExecuted
(It.IsAny<PageHandlerExecutedContext>()), Times.Once());
970
.Setup(f => f.
OnPageHandlerExecuted
(It.IsAny<PageHandlerExecutedContext>()))
1005
pageFilter1.Verify(f => f.
OnPageHandlerExecuted
(It.IsAny<PageHandlerExecutedContext>()), Times.Once());
1056
.Setup(f => f.
OnPageHandlerExecuted
(It.IsAny<PageHandlerExecutedContext>()))
1075
filter.Verify(f => f.
OnPageHandlerExecuted
(It.IsAny<PageHandlerExecutedContext>()), Times.Once());
1092
.Setup(f => f.
OnPageHandlerExecuted
(It.IsAny<PageHandlerExecutedContext>()))
1117
filter1.Verify(f => f.
OnPageHandlerExecuted
(It.IsAny<PageHandlerExecutedContext>()), Times.Once());
1120
filter2.Verify(f => f.
OnPageHandlerExecuted
(It.IsAny<PageHandlerExecutedContext>()), Times.Never());
1151
.Setup(f => f.
OnPageHandlerExecuted
(It.IsAny<PageHandlerExecutedContext>()))
1185
.Setup(f => f.
OnPageHandlerExecuted
(It.IsAny<PageHandlerExecutedContext>()))
1209
pageFilter.Verify(f => f.
OnPageHandlerExecuted
(It.IsAny<PageHandlerExecutedContext>()), Times.Once());
Infrastructure\PageHandlerPageFilterTest.cs (2)
70
.Setup(f => f.
OnPageHandlerExecuted
(It.IsAny<PageHandlerExecutedContext>()))
113
.Setup(f => f.
OnPageHandlerExecuted
(It.IsAny<PageHandlerExecutedContext>()))