5 implementations of OnPageHandlerExecutionAsync
Microsoft.AspNetCore.Identity.UI (1)
Areas\Identity\Filters\ExternalLoginsPageFilter.cs (1)
13
public async Task
OnPageHandlerExecutionAsync
(PageHandlerExecutingContext context, PageHandlerExecutionDelegate next)
Microsoft.AspNetCore.Mvc.RazorPages (2)
Filters\PageHandlerPageFilter.cs (1)
15
public Task
OnPageHandlerExecutionAsync
(PageHandlerExecutingContext context, PageHandlerExecutionDelegate next)
PageModel.cs (1)
1707
public virtual async Task
OnPageHandlerExecutionAsync
(PageHandlerExecutingContext context, PageHandlerExecutionDelegate next)
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (1)
1148
public Task
OnPageHandlerExecutionAsync
(PageHandlerExecutingContext context, PageHandlerExecutionDelegate next)
RazorPagesWebSite (1)
Pages\ShortCircuitPageAtPageFilter.cshtml.cs (1)
32
public Task
OnPageHandlerExecutionAsync
(
22 references to OnPageHandlerExecutionAsync
Microsoft.AspNetCore.Mvc.RazorPages (4)
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 (1)
30
return asyncPageFilter.
OnPageHandlerExecutionAsync
(context, next);
Infrastructure\PageActionInvoker.cs (1)
483
var task = filter.
OnPageHandlerExecutionAsync
(handlerExecutingContext, InvokeNextPageFilterAwaitedAsync);
Microsoft.AspNetCore.Mvc.RazorPages.Test (18)
Infrastructure\PageActionInvokerTest.cs (17)
425
.Setup(f => f.
OnPageHandlerExecutionAsync
(It.IsAny<PageHandlerExecutingContext>(), It.IsAny<PageHandlerExecutionDelegate>()))
440
.Setup(f => f.
OnPageHandlerExecutionAsync
(It.IsAny<PageHandlerExecutingContext>(), It.IsAny<PageHandlerExecutionDelegate>()))
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>()))
544
f => f.
OnPageHandlerExecutionAsync
(It.IsAny<PageHandlerExecutingContext>(), It.IsAny<PageHandlerExecutionDelegate>()),
767
.Setup(f => f.
OnPageHandlerExecutionAsync
(It.IsAny<PageHandlerExecutingContext>(), It.IsAny<PageHandlerExecutionDelegate>()))
783
f => f.
OnPageHandlerExecutionAsync
(It.IsAny<PageHandlerExecutingContext>(), It.IsAny<PageHandlerExecutionDelegate>()),
911
.Setup(f => f.
OnPageHandlerExecutionAsync
(It.IsAny<PageHandlerExecutingContext>(), It.IsAny<PageHandlerExecutionDelegate>()))
948
f => f.
OnPageHandlerExecutionAsync
(It.IsAny<PageHandlerExecutingContext>(), It.IsAny<PageHandlerExecutionDelegate>()),
977
.Setup(f => f.
OnPageHandlerExecutionAsync
(It.IsAny<PageHandlerExecutingContext>(), It.IsAny<PageHandlerExecutionDelegate>()))
1008
f => f.
OnPageHandlerExecutionAsync
(It.IsAny<PageHandlerExecutingContext>(), It.IsAny<PageHandlerExecutionDelegate>()),
1025
.Setup(f => f.
OnPageHandlerExecutionAsync
(It.IsAny<PageHandlerExecutingContext>(), It.IsAny<PageHandlerExecutionDelegate>()))
1136
.Setup(f => f.
OnPageHandlerExecutionAsync
(It.IsAny<PageHandlerExecutingContext>(), It.IsAny<PageHandlerExecutionDelegate>()))
1162
f => f.
OnPageHandlerExecutionAsync
(It.IsAny<PageHandlerExecutingContext>(), It.IsAny<PageHandlerExecutionDelegate>()),
1352
.Setup(f => f.
OnPageHandlerExecutionAsync
(It.IsAny<PageHandlerExecutingContext>(), It.IsAny<PageHandlerExecutionDelegate>()))
1361
.Setup(f => f.
OnPageHandlerExecutionAsync
(It.IsAny<PageHandlerExecutingContext>(), It.IsAny<PageHandlerExecutionDelegate>()))
Infrastructure\PageHandlerPageFilterTest.cs (1)
40
.Setup(f => f.
OnPageHandlerExecutionAsync
(pageHandlerExecutingContext, next))