10 implementations of OnPageHandlerExecuted
Microsoft.AspNetCore.Mvc.RazorPages (5)
Filters\PageResponseCacheFilter.cs (1)
99public void OnPageHandlerExecuted(PageHandlerExecutedContext context)
Filters\PageSaveTempDataPropertyFilter.cs (1)
28public void OnPageHandlerExecuted(PageHandlerExecutedContext context)
Filters\PageViewDataAttributeFilter.cs (1)
20public void OnPageHandlerExecuted(PageHandlerExecutedContext context)
Infrastructure\HandleOptionsRequestsPageFilter.cs (1)
31public void OnPageHandlerExecuted(PageHandlerExecutedContext context)
PageModel.cs (1)
1682public virtual void OnPageHandlerExecuted(PageHandlerExecutedContext context)
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (1)
1179public void OnPageHandlerExecuted(PageHandlerExecutedContext context)
RazorPagesWebSite (4)
ModelWithPageFilter.cs (1)
37public void OnPageHandlerExecuted(PageHandlerExecutedContext context)
Pages\Filters\TestPageFilter.cs (1)
10public void OnPageHandlerExecuted(PageHandlerExecutedContext context)
Pages\ShortCircuitPageAtPageFilter.cshtml.cs (1)
59public void OnPageHandlerExecuted(PageHandlerExecutedContext context)
Pages\ViewDataAvailableAfterHandlerExecuted.cshtml.cs (1)
20public 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)
66pageFilter.OnPageHandlerExecuted(await next());
Infrastructure\PageActionInvoker.cs (1)
593filter.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>())) 402filter1.Verify(f => f.OnPageHandlerExecuted(It.IsAny<PageHandlerExecutedContext>()), Times.Once()); 406filter2.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>())) 515filter.Verify(f => f.OnPageHandlerExecuted(It.IsAny<PageHandlerExecutedContext>()), Times.Once()); 844.Setup(f => f.OnPageHandlerExecuted(It.IsAny<PageHandlerExecutedContext>())) 876pageFilter1.Verify(f => f.OnPageHandlerExecuted(It.IsAny<PageHandlerExecutedContext>()), Times.Once()); 879pageFilter2.Verify(f => f.OnPageHandlerExecuted(It.IsAny<PageHandlerExecutedContext>()), Times.Never()); 904.Setup(f => f.OnPageHandlerExecuted(It.IsAny<PageHandlerExecutedContext>())) 945pageFilter1.Verify(f => f.OnPageHandlerExecuted(It.IsAny<PageHandlerExecutedContext>()), Times.Once()); 970.Setup(f => f.OnPageHandlerExecuted(It.IsAny<PageHandlerExecutedContext>())) 1005pageFilter1.Verify(f => f.OnPageHandlerExecuted(It.IsAny<PageHandlerExecutedContext>()), Times.Once()); 1056.Setup(f => f.OnPageHandlerExecuted(It.IsAny<PageHandlerExecutedContext>())) 1075filter.Verify(f => f.OnPageHandlerExecuted(It.IsAny<PageHandlerExecutedContext>()), Times.Once()); 1092.Setup(f => f.OnPageHandlerExecuted(It.IsAny<PageHandlerExecutedContext>())) 1117filter1.Verify(f => f.OnPageHandlerExecuted(It.IsAny<PageHandlerExecutedContext>()), Times.Once()); 1120filter2.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>())) 1209pageFilter.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>()))