1 implementation of IPageActivatorProvider
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\DefaultPageActivatorProvider.cs (1)
13
internal sealed class DefaultPageActivatorProvider :
IPageActivatorProvider
10 references to IPageActivatorProvider
Microsoft.AspNetCore.Mvc.RazorPages (6)
DependencyInjection\MvcRazorPagesMvcCoreBuilderExtensions.cs (1)
137
services.TryAddSingleton<
IPageActivatorProvider
, DefaultPageActivatorProvider>();
Infrastructure\DefaultPageActivatorProvider.cs (1)
11
/// <see cref="
IPageActivatorProvider
"/> that uses type activation to create Pages.
Infrastructure\DefaultPageFactoryProvider.cs (2)
17
private readonly
IPageActivatorProvider
_pageActivator;
22
IPageActivatorProvider
pageActivator,
Infrastructure\DefaultPageModelActivatorProvider.cs (1)
10
/// <see cref="
IPageActivatorProvider
"/> that uses type activation to create Razor Page instances.
Infrastructure\ServiceBasedPageModelActivatorProvider.cs (1)
9
/// <see cref="
IPageActivatorProvider
"/> that uses type activation to create Razor Page instances.
Microsoft.AspNetCore.Mvc.RazorPages.Test (4)
Infrastructure\DefaultPageFactoryProviderTest.cs (4)
31
var
pageActivator = CreateActivator();
366
IPageActivatorProvider
pageActivator = null,
384
private static
IPageActivatorProvider
CreateActivator()
386
var activator = new Mock<
IPageActivatorProvider
>();