10 implementations of OnPageHandlerSelected
Microsoft.AspNetCore.Mvc.RazorPages (5)
Filters\PageResponseCacheFilter.cs (1)
82
public void
OnPageHandlerSelected
(PageHandlerSelectedContext context)
Filters\PageSaveTempDataPropertyFilter.cs (1)
16
public void
OnPageHandlerSelected
(PageHandlerSelectedContext context)
Filters\PageViewDataAttributeFilter.cs (1)
30
public void
OnPageHandlerSelected
(PageHandlerSelectedContext context)
Infrastructure\HandleOptionsRequestsPageFilter.cs (1)
47
public void
OnPageHandlerSelected
(PageHandlerSelectedContext context)
PageModel.cs (1)
1666
public virtual void
OnPageHandlerSelected
(PageHandlerSelectedContext context)
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (1)
1189
public void
OnPageHandlerSelected
(PageHandlerSelectedContext context)
RazorPagesWebSite (4)
ModelWithPageFilter.cs (1)
28
public void
OnPageHandlerSelected
(PageHandlerSelectedContext context)
Pages\Filters\TestPageFilter.cs (1)
19
public void
OnPageHandlerSelected
(PageHandlerSelectedContext context)
Pages\ShortCircuitPageAtPageFilter.cshtml.cs (1)
47
public void
OnPageHandlerSelected
(PageHandlerSelectedContext context)
Pages\ViewDataAvailableAfterHandlerExecuted.cshtml.cs (1)
34
public 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)
52
pageFilter.
OnPageHandlerSelected
(context);
Filters\PageHandlerSelectedContext.cs (1)
11
/// <see cref="IPageFilter.
OnPageHandlerSelected
(PageHandlerSelectedContext)"/> and
Infrastructure\PageActionInvoker.cs (1)
409
filter.
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>()))
400
filter1.Verify(f => f.
OnPageHandlerSelected
(It.IsAny<PageHandlerSelectedContext>()), Times.Once());
404
filter2.Verify(f => f.
OnPageHandlerSelected
(It.IsAny<PageHandlerSelectedContext>()), Times.Once());
1664
filter.Setup(f => f.
OnPageHandlerSelected
(It.IsAny<PageHandlerSelectedContext>()));