5 implementations of OnPageHandlerSelectionAsync
Microsoft.AspNetCore.Identity.UI (1)
Areas\Identity\Filters\ExternalLoginsPageFilter.cs (1)
26
public Task
OnPageHandlerSelectionAsync
(PageHandlerSelectedContext context)
Microsoft.AspNetCore.Mvc.RazorPages (2)
Filters\PageHandlerPageFilter.cs (1)
42
public Task
OnPageHandlerSelectionAsync
(PageHandlerSelectedContext context)
PageModel.cs (1)
1691
public virtual Task
OnPageHandlerSelectionAsync
(PageHandlerSelectedContext context)
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (1)
1153
public Task
OnPageHandlerSelectionAsync
(PageHandlerSelectedContext context)
RazorPagesWebSite (1)
Pages\ShortCircuitPageAtPageFilter.cshtml.cs (1)
27
public Task
OnPageHandlerSelectionAsync
(PageHandlerSelectedContext context)
8 references to OnPageHandlerSelectionAsync
Microsoft.AspNetCore.Mvc.RazorPages (3)
Filters\PageHandlerPageFilter.cs (1)
48
return asyncPageFilter.
OnPageHandlerSelectionAsync
(context);
Filters\PageHandlerSelectedContext.cs (1)
12
/// <see cref="IAsyncPageFilter.
OnPageHandlerSelectionAsync
(PageHandlerSelectedContext)"/>.
Infrastructure\PageActionInvoker.cs (1)
369
var task = filter.
OnPageHandlerSelectionAsync
(handlerSelectedContext);
Microsoft.AspNetCore.Mvc.RazorPages.Test (5)
Infrastructure\PageActionInvokerTest.cs (5)
417
.Setup(f => f.
OnPageHandlerSelectionAsync
(It.IsAny<PageHandlerSelectedContext>()))
435
.Setup(f => f.
OnPageHandlerSelectionAsync
(It.IsAny<PageHandlerSelectedContext>()))
456
filter1.Verify(f => f.
OnPageHandlerSelectionAsync
(It.IsAny<PageHandlerSelectedContext>()), Times.Once());
459
filter2.Verify(f => f.
OnPageHandlerSelectionAsync
(It.IsAny<PageHandlerSelectedContext>()), Times.Once());
1669
filter.Setup(f => f.
OnPageHandlerSelectionAsync
(It.IsAny<PageHandlerSelectedContext>())).Returns(Task.CompletedTask);