43 references to PageHandlerExecutionDelegate
Microsoft.AspNetCore.Identity.UI (1)
Areas\Identity\Filters\ExternalLoginsPageFilter.cs (1)
13
public 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.
27
Task 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)
15
public Task OnPageHandlerExecutionAsync(PageHandlerExecutingContext context,
PageHandlerExecutionDelegate
next)
60
PageHandlerExecutionDelegate
next,
Infrastructure\PageActionInvoker.cs (1)
683
typeof(
PageHandlerExecutionDelegate
).Name);
PageModel.cs (2)
1704
/// The <see cref="
PageHandlerExecutionDelegate
"/>. Invoked to execute the next page filter or the handler method itself.
1707
public virtual async Task OnPageHandlerExecutionAsync(PageHandlerExecutingContext context,
PageHandlerExecutionDelegate
next)
Microsoft.AspNetCore.Mvc.RazorPages.Test (32)
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (1)
1148
public 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) =>
457
filter1.Verify(f => f.OnPageHandlerExecutionAsync(It.IsAny<PageHandlerExecutingContext>(), It.IsAny<
PageHandlerExecutionDelegate
>()), Times.Once());
460
filter2.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) =>
544
f => 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) =>
783
f => 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) =>
948
f => 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) =>
1008
f => 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) =>
1162
f => 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)
36
PageHandlerExecutionDelegate
next = () => Task.FromResult(pageHandlerExecutedContext);
84
PageHandlerExecutionDelegate
next = () => Task.FromResult(pageHandlerExecutedContext);
127
PageHandlerExecutionDelegate
next = () => Task.FromResult(pageHandlerExecutedContext);
161
PageHandlerExecutionDelegate
next = () =>
RazorPagesWebSite (1)
Pages\ShortCircuitPageAtPageFilter.cshtml.cs (1)
34
PageHandlerExecutionDelegate
next)