43 references to PageHandlerExecutionDelegate
Microsoft.AspNetCore.Identity.UI (1)
Areas\Identity\Filters\ExternalLoginsPageFilter.cs (1)
13public async Task OnPageHandlerExecutionAsync(PageHandlerExecutingContext context, PageHandlerExecutionDelegate next)
Microsoft.AspNetCore.Mvc.RazorPages (9)
Filters\IAsyncPageFilter.cs (2)
24/// The <see cref="PageHandlerExecutionDelegate"/>. Invoked to execute the next page filter or the handler method itself. 27Task OnPageHandlerExecutionAsync(PageHandlerExecutingContext context, PageHandlerExecutionDelegate next);
Filters\PageHandlerExecutedContext.cs (1)
13/// <see cref="IAsyncPageFilter.OnPageHandlerExecutionAsync(PageHandlerExecutingContext, PageHandlerExecutionDelegate)"/>.
Filters\PageHandlerExecutingContext.cs (1)
12/// <see cref="IAsyncPageFilter.OnPageHandlerExecutionAsync(PageHandlerExecutingContext, PageHandlerExecutionDelegate)"/>.
Filters\PageHandlerPageFilter.cs (2)
15public Task OnPageHandlerExecutionAsync(PageHandlerExecutingContext context, PageHandlerExecutionDelegate next) 60PageHandlerExecutionDelegate next,
Infrastructure\PageActionInvoker.cs (1)
683typeof(PageHandlerExecutionDelegate).Name);
PageModel.cs (2)
1704/// The <see cref="PageHandlerExecutionDelegate"/>. Invoked to execute the next page filter or the handler method itself. 1707public virtual async Task OnPageHandlerExecutionAsync(PageHandlerExecutingContext context, PageHandlerExecutionDelegate next)
Microsoft.AspNetCore.Mvc.RazorPages.Test (32)
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (1)
1148public Task OnPageHandlerExecutionAsync(PageHandlerExecutingContext context, PageHandlerExecutionDelegate next)
Infrastructure\PageActionInvokerTest.cs (27)
425.Setup(f => f.OnPageHandlerExecutionAsync(It.IsAny<PageHandlerExecutingContext>(), It.IsAny<PageHandlerExecutionDelegate>())) 426.Returns<PageHandlerExecutingContext, PageHandlerExecutionDelegate>(async (c, next) => 440.Setup(f => f.OnPageHandlerExecutionAsync(It.IsAny<PageHandlerExecutingContext>(), It.IsAny<PageHandlerExecutionDelegate>())) 441.Returns<PageHandlerExecutingContext, PageHandlerExecutionDelegate>(async (c, next) => 457filter1.Verify(f => f.OnPageHandlerExecutionAsync(It.IsAny<PageHandlerExecutingContext>(), It.IsAny<PageHandlerExecutionDelegate>()), Times.Once()); 460filter2.Verify(f => f.OnPageHandlerExecutionAsync(It.IsAny<PageHandlerExecutingContext>(), It.IsAny<PageHandlerExecutionDelegate>()), Times.Once()); 529.Setup(f => f.OnPageHandlerExecutionAsync(It.IsAny<PageHandlerExecutingContext>(), It.IsAny<PageHandlerExecutionDelegate>())) 530.Returns<PageHandlerExecutingContext, PageHandlerExecutionDelegate>(async (context, next) => 544f => f.OnPageHandlerExecutionAsync(It.IsAny<PageHandlerExecutingContext>(), It.IsAny<PageHandlerExecutionDelegate>()), 767.Setup(f => f.OnPageHandlerExecutionAsync(It.IsAny<PageHandlerExecutingContext>(), It.IsAny<PageHandlerExecutionDelegate>())) 768.Returns<PageHandlerExecutingContext, PageHandlerExecutionDelegate>((context, next) => 783f => f.OnPageHandlerExecutionAsync(It.IsAny<PageHandlerExecutingContext>(), It.IsAny<PageHandlerExecutionDelegate>()), 911.Setup(f => f.OnPageHandlerExecutionAsync(It.IsAny<PageHandlerExecutingContext>(), It.IsAny<PageHandlerExecutionDelegate>())) 912.Returns<PageHandlerExecutingContext, PageHandlerExecutionDelegate>((c, next) => 948f => f.OnPageHandlerExecutionAsync(It.IsAny<PageHandlerExecutingContext>(), It.IsAny<PageHandlerExecutionDelegate>()), 977.Setup(f => f.OnPageHandlerExecutionAsync(It.IsAny<PageHandlerExecutingContext>(), It.IsAny<PageHandlerExecutionDelegate>())) 978.Returns<PageHandlerExecutingContext, PageHandlerExecutionDelegate>((c, next) => 1008f => f.OnPageHandlerExecutionAsync(It.IsAny<PageHandlerExecutingContext>(), It.IsAny<PageHandlerExecutionDelegate>()), 1025.Setup(f => f.OnPageHandlerExecutionAsync(It.IsAny<PageHandlerExecutingContext>(), It.IsAny<PageHandlerExecutionDelegate>())) 1026.Returns<PageHandlerExecutingContext, PageHandlerExecutionDelegate>(async (c, next) => 1136.Setup(f => f.OnPageHandlerExecutionAsync(It.IsAny<PageHandlerExecutingContext>(), It.IsAny<PageHandlerExecutionDelegate>())) 1137.Returns<PageHandlerExecutingContext, PageHandlerExecutionDelegate>(async (c, next) => 1162f => f.OnPageHandlerExecutionAsync(It.IsAny<PageHandlerExecutingContext>(), It.IsAny<PageHandlerExecutionDelegate>()), 1352.Setup(f => f.OnPageHandlerExecutionAsync(It.IsAny<PageHandlerExecutingContext>(), It.IsAny<PageHandlerExecutionDelegate>())) 1353.Returns<PageHandlerExecutingContext, PageHandlerExecutionDelegate>(async (c, next) => 1361.Setup(f => f.OnPageHandlerExecutionAsync(It.IsAny<PageHandlerExecutingContext>(), It.IsAny<PageHandlerExecutionDelegate>())) 1362.Returns<PageHandlerExecutingContext, PageHandlerExecutionDelegate>(async (c, next) =>
Infrastructure\PageHandlerPageFilterTest.cs (4)
36PageHandlerExecutionDelegate next = () => Task.FromResult(pageHandlerExecutedContext); 84PageHandlerExecutionDelegate next = () => Task.FromResult(pageHandlerExecutedContext); 127PageHandlerExecutionDelegate next = () => Task.FromResult(pageHandlerExecutedContext); 161PageHandlerExecutionDelegate next = () =>
RazorPagesWebSite (1)
Pages\ShortCircuitPageAtPageFilter.cshtml.cs (1)
34PageHandlerExecutionDelegate next)