10 implementations of OnPageHandlerSelected
Microsoft.AspNetCore.Mvc.RazorPages (5)
Filters\PageResponseCacheFilter.cs (1)
82public void OnPageHandlerSelected(PageHandlerSelectedContext context)
Filters\PageSaveTempDataPropertyFilter.cs (1)
16public void OnPageHandlerSelected(PageHandlerSelectedContext context)
Filters\PageViewDataAttributeFilter.cs (1)
30public void OnPageHandlerSelected(PageHandlerSelectedContext context)
Infrastructure\HandleOptionsRequestsPageFilter.cs (1)
47public void OnPageHandlerSelected(PageHandlerSelectedContext context)
PageModel.cs (1)
1666public virtual void OnPageHandlerSelected(PageHandlerSelectedContext context)
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (1)
1189public void OnPageHandlerSelected(PageHandlerSelectedContext context)
RazorPagesWebSite (4)
ModelWithPageFilter.cs (1)
28public void OnPageHandlerSelected(PageHandlerSelectedContext context)
Pages\Filters\TestPageFilter.cs (1)
19public void OnPageHandlerSelected(PageHandlerSelectedContext context)
Pages\ShortCircuitPageAtPageFilter.cshtml.cs (1)
47public void OnPageHandlerSelected(PageHandlerSelectedContext context)
Pages\ViewDataAvailableAfterHandlerExecuted.cshtml.cs (1)
34public void OnPageHandlerSelected(PageHandlerSelectedContext context)
10 references to OnPageHandlerSelected
Microsoft.AspNetCore.Mvc.RazorPages (5)
Diagnostics\MvcDiagnostics.cs (2)
545/// An <see cref="EventData"/> that occurs before <see cref="IPageFilter.OnPageHandlerSelected(PageHandlerSelectedContext)"/>. 596/// An <see cref="EventData"/> that occurs after <see cref="IPageFilter.OnPageHandlerSelected(PageHandlerSelectedContext)"/>.
Filters\PageHandlerPageFilter.cs (1)
52pageFilter.OnPageHandlerSelected(context);
Filters\PageHandlerSelectedContext.cs (1)
11/// <see cref="IPageFilter.OnPageHandlerSelected(PageHandlerSelectedContext)"/> and
Infrastructure\PageActionInvoker.cs (1)
409filter.OnPageHandlerSelected(handlerSelectedContext);
Microsoft.AspNetCore.Mvc.RazorPages.Test (5)
Infrastructure\PageActionInvokerTest.cs (5)
363.Setup(f => f.OnPageHandlerSelected(It.IsAny<PageHandlerSelectedContext>())) 380.Setup(f => f.OnPageHandlerSelected(It.IsAny<PageHandlerSelectedContext>())) 400filter1.Verify(f => f.OnPageHandlerSelected(It.IsAny<PageHandlerSelectedContext>()), Times.Once()); 404filter2.Verify(f => f.OnPageHandlerSelected(It.IsAny<PageHandlerSelectedContext>()), Times.Once()); 1664filter.Setup(f => f.OnPageHandlerSelected(It.IsAny<PageHandlerSelectedContext>()));