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