6 implementations of IPageApplicationModelProvider
Microsoft.AspNetCore.Mvc.RazorPages (6)
ApplicationModels\AuthorizationPageApplicationModelProvider.cs (1)
11
internal sealed class AuthorizationPageApplicationModelProvider :
IPageApplicationModelProvider
ApplicationModels\AutoValidateAntiforgeryPageApplicationModelProvider.cs (1)
9
internal sealed class AutoValidateAntiforgeryPageApplicationModelProvider :
IPageApplicationModelProvider
ApplicationModels\DefaultPageApplicationModelProvider.cs (1)
16
internal sealed class DefaultPageApplicationModelProvider :
IPageApplicationModelProvider
ApplicationModels\ResponseCacheFilterApplicationModelProvider.cs (1)
11
internal sealed class ResponseCacheFilterApplicationModelProvider :
IPageApplicationModelProvider
ApplicationModels\TempDataFilterPageApplicationModelProvider.cs (1)
10
internal sealed class TempDataFilterPageApplicationModelProvider :
IPageApplicationModelProvider
ApplicationModels\ViewDataAttributePageApplicationModelProvider.cs (1)
9
internal sealed class ViewDataAttributePageApplicationModelProvider :
IPageApplicationModelProvider
20 references to IPageApplicationModelProvider
Microsoft.AspNetCore.Mvc.RazorPages (11)
ApplicationModels\PageApplicationModelProviderContext.cs (1)
10
/// A context object for <see cref="
IPageApplicationModelProvider
"/>.
DependencyInjection\MvcRazorPagesMvcCoreBuilderExtensions.cs (6)
113
ServiceDescriptor.Singleton<
IPageApplicationModelProvider
, DefaultPageApplicationModelProvider>());
115
ServiceDescriptor.Singleton<
IPageApplicationModelProvider
, AutoValidateAntiforgeryPageApplicationModelProvider>());
117
ServiceDescriptor.Singleton<
IPageApplicationModelProvider
, AuthorizationPageApplicationModelProvider>());
119
ServiceDescriptor.Singleton<
IPageApplicationModelProvider
, TempDataFilterPageApplicationModelProvider>());
121
ServiceDescriptor.Singleton<
IPageApplicationModelProvider
, ViewDataAttributePageApplicationModelProvider>());
123
ServiceDescriptor.Singleton<
IPageApplicationModelProvider
, ResponseCacheFilterApplicationModelProvider>());
Infrastructure\CompiledPageActionDescriptorFactory.cs (2)
19
private readonly
IPageApplicationModelProvider
[] _applicationModelProviders;
24
IEnumerable<
IPageApplicationModelProvider
> applicationModelProviders,
Infrastructure\CompiledPageActionDescriptorProvider.cs (1)
34
IEnumerable<
IPageApplicationModelProvider
> applicationModelProviders,
Infrastructure\DefaultPageLoader.cs (1)
21
IEnumerable<
IPageApplicationModelProvider
> applicationModelProviders,
Microsoft.AspNetCore.Mvc.RazorPages.Test (8)
Infrastructure\DefaultPageLoaderTest.cs (8)
40
var provider1 = new Mock<
IPageApplicationModelProvider
>();
41
var provider2 = new Mock<
IPageApplicationModelProvider
>();
123
var provider = new Mock<
IPageApplicationModelProvider
>();
163
var provider1 = new Mock<
IPageApplicationModelProvider
>();
165
var provider2 = new Mock<
IPageApplicationModelProvider
>();
240
var provider = new Mock<
IPageApplicationModelProvider
>();
302
var provider = new Mock<
IPageApplicationModelProvider
>();
339
new[] { Mock.Of<
IPageApplicationModelProvider
>() },
Microsoft.AspNetCore.Mvc.Test (1)
MvcServiceCollectionExtensionsTest.cs (1)
599
typeof(
IPageApplicationModelProvider
),