50 instantiations of ApplicationPartManager
Microsoft.AspNetCore.Mvc.Core (1)
DependencyInjection\MvcCoreServiceCollectionExtensions.cs (1)
77manager = new ApplicationPartManager();
Microsoft.AspNetCore.Mvc.Core.Test (19)
ApplicationModels\ControllerActionDescriptorProviderTests.cs (1)
1383var manager = new ApplicationPartManager();
ApplicationModels\EndpointMetadataProviderTest.cs (1)
238var manager = new ApplicationPartManager();
ApplicationParts\ApplicationPartManagerTest.cs (3)
12var manager = new ApplicationPartManager(); 41var manager = new ApplicationPartManager(); 62var manager = new ApplicationPartManager();
Controllers\ControllerFeatureProviderTest.cs (1)
385var manager = new ApplicationPartManager();
DependencyInjection\MvcBuilderExtensionsTest.cs (6)
21var manager = new ApplicationPartManager(); 40var manager = new ApplicationPartManager(); 64new ApplicationPartManager()); 116var manager = new ApplicationPartManager(); 142new ApplicationPartManager()); 170var manager = new ApplicationPartManager();
DependencyInjection\MvcCoreBuilderExtensionsTest.cs (4)
19var manager = new ApplicationPartManager(); 37var manager = new ApplicationPartManager(); 61new ApplicationPartManager()); 85new ApplicationPartManager());
DependencyInjection\MvcCoreServiceCollectionExtensionsTest.cs (2)
112var manager = new ApplicationPartManager(); 135var manager = new ApplicationPartManager();
Infrastructure\ActionSelectorTest.cs (1)
1017var manager = new ApplicationPartManager();
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
ModelBindingTestHelper.cs (1)
168serviceCollection.AddSingleton(new ApplicationPartManager());
Microsoft.AspNetCore.Mvc.Localization.Test (2)
MvcLocalizationMvcBuilderExtensionsTest.cs (1)
145public ApplicationPartManager PartManager => new ApplicationPartManager();
MvcLocalizationMvcCoreBuilderExtensionsTest.cs (1)
145public ApplicationPartManager PartManager => new ApplicationPartManager();
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (3)
RazorReferenceManagerTest.cs (1)
38var applicationPartManager = new ApplicationPartManager();
RuntimeViewCompilerTest.cs (1)
854var applicationPartManager = new ApplicationPartManager();
TestInfrastructure\TestRazorReferenceManager.cs (1)
14new ApplicationPartManager(),
Microsoft.AspNetCore.Mvc.Razor.Test (10)
Compilation\DefaultViewCompilerTest.cs (1)
140var manager = new ApplicationPartManager();
DefaultTagHelperFactoryTest.cs (4)
27var builder = new MvcCoreBuilder(services, new ApplicationPartManager()); 54var builder = new MvcCoreBuilder(services, new ApplicationPartManager()); 72var builder = new MvcCoreBuilder(services, new ApplicationPartManager()); 100var builder = new MvcCoreBuilder(services, new ApplicationPartManager());
DependencyInjection\MvcRazorMvcBuilderExtensionsTest.cs (2)
19var manager = new ApplicationPartManager(); 38var manager = new ApplicationPartManager();
DependencyInjection\MvcRazorMvcCoreBuilderExtensionsTest.cs (1)
78var manager = new ApplicationPartManager();
RazorViewEngineOptionsTest.cs (2)
23var builder = new MvcBuilder(services, new ApplicationPartManager()); 53var builder = new MvcBuilder(services, new ApplicationPartManager());
Microsoft.AspNetCore.Mvc.RazorPages.Test (3)
ApplicationModels\CompiledPageRouteModelProviderTest.cs (1)
477new ApplicationPartManager(),
Builder\PageActionEndpointConventionBuilderResourceCollectionExtensionsTest.cs (1)
218collection.AddSingleton(new ApplicationPartManager());
DependencyInjection\MvcRazorPagesMvcBuilderExtensionsTest.cs (1)
22var builder = new MvcBuilder(services, new ApplicationPartManager());
Microsoft.AspNetCore.Mvc.Test (3)
MvcOptionsSetupTest.cs (2)
162var builder = new MvcCoreBuilder(services, new ApplicationPartManager()); 287serviceCollection.AddSingleton(new ApplicationPartManager());
MvcServiceCollectionExtensionsTest.cs (1)
381var manager = new ApplicationPartManager();
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (8)
Builder\ControllerActionEndpointConventionBuilderResourceCollectionExtensionsTest.cs (1)
291collection.AddSingleton(new ApplicationPartManager());
DependencyInjection\MvcViewFeaturesMvcBuilderExtensionsTest.cs (2)
129var manager = new ApplicationPartManager(); 161var manager = new ApplicationPartManager();
ViewComponents\DefaultViewComponentDescriptorProviderTest.cs (1)
170var manager = new ApplicationPartManager();
ViewComponents\DefaultViewComponentHelperTest.cs (1)
191var manager = new ApplicationPartManager();
ViewComponents\DefaultViewComponentSelectorTest.cs (1)
252var manager = new ApplicationPartManager();
ViewComponents\ViewComponentFeatureProviderTest.cs (2)
17var manager = new ApplicationPartManager(); 34var manager = new ApplicationPartManager();
137 references to ApplicationPartManager
BasicWebSite (1)
Controllers\HomeController.cs (1)
128public IActionResult GetAssemblyPartData([FromServices] ApplicationPartManager applicationPartManager)
Microsoft.AspNetCore.Identity.FunctionalTests (2)
Infrastructure\ServerFactory.cs (2)
124ApplicationPartManager manager, 140ApplicationPartManager manager,
Microsoft.AspNetCore.Mvc (1)
MvcServiceCollectionExtensions.cs (1)
323internal static void AddTagHelpersFrameworkParts(ApplicationPartManager partManager)
Microsoft.AspNetCore.Mvc.Core (27)
ApplicationModels\ControllerActionDescriptorProvider.cs (2)
13private readonly ApplicationPartManager _partManager; 17ApplicationPartManager partManager,
ApplicationParts\ApplicationPartManager.cs (1)
34/// <see cref="ApplicationPartManager"/>.
ApplicationParts\IApplicationFeatureProviderOfT.cs (1)
20/// are stored in <see cref="ApplicationPartManager.ApplicationParts"/>. This ordering may be used by the feature
Controllers\ControllerFeature.cs (2)
12/// using the <see cref="ApplicationPartManager"/> that is available during startup at <see cref="IMvcBuilder.PartManager"/> 13/// and <see cref="IMvcCoreBuilder.PartManager"/> or at a later stage by requiring the <see cref="ApplicationPartManager"/>
DependencyInjection\IMvcBuilder.cs (2)
19/// Gets the <see cref="ApplicationPartManager"/> where <see cref="ApplicationPart"/>s 22ApplicationPartManager PartManager { get; }
DependencyInjection\IMvcCoreBuilder.cs (2)
19/// Gets the <see cref="ApplicationPartManager"/> where <see cref="ApplicationPart"/>s 22ApplicationPartManager PartManager { get; }
DependencyInjection\MvcBuilder.cs (3)
17/// <param name="manager">The <see cref="ApplicationPartManager"/> of the application.</param> 18public MvcBuilder(IServiceCollection services, ApplicationPartManager manager) 31public ApplicationPartManager PartManager { get; }
DependencyInjection\MvcCoreBuilder.cs (3)
17/// <param name="manager">The <see cref="ApplicationPartManager"/> of the application.</param> 20ApplicationPartManager manager) 30public ApplicationPartManager PartManager { get; }
DependencyInjection\MvcCoreMvcBuilderExtensions.cs (3)
73/// Adds an <see cref="ApplicationPart"/> to the list of <see cref="ApplicationPartManager.ApplicationParts"/> on the 97/// Configures the <see cref="ApplicationPartManager"/> of the <see cref="IMvcBuilder.PartManager"/> using 105Action<ApplicationPartManager> setupAction)
DependencyInjection\MvcCoreMvcCoreBuilderExtensions.cs (3)
155/// Adds an <see cref="ApplicationPart"/> to the list of <see cref="ApplicationPartManager.ApplicationParts"/> on the 179/// Configures the <see cref="ApplicationPartManager"/> of the <see cref="IMvcCoreBuilder.PartManager"/> using 187Action<ApplicationPartManager> setupAction)
DependencyInjection\MvcCoreServiceCollectionExtensions.cs (5)
52var partManager = GetApplicationPartManager(services, environment); 64private static void ConfigureDefaultFeatureProviders(ApplicationPartManager manager) 72private static ApplicationPartManager GetApplicationPartManager(IServiceCollection services, IWebHostEnvironment? environment) 74var manager = GetServiceFromCollection<ApplicationPartManager>(services);
Microsoft.AspNetCore.Mvc.Core.Test (44)
ApplicationModels\ControllerActionDescriptorProviderTests.cs (6)
694var manager = GetApplicationManager(new[] { controllerTypeInfo }); 1337var manager = GetApplicationManager(new[] { controllerTypeInfo }); 1353var manager = GetApplicationManager(controllerTypeInfos); 1370var manager = GetApplicationManager(new[] { controllerTypeInfo }); 1381private static ApplicationPartManager GetApplicationManager(IEnumerable<TypeInfo> controllerTypes) 1383var manager = new ApplicationPartManager();
ApplicationModels\EndpointMetadataProviderTest.cs (1)
238var manager = new ApplicationPartManager();
ApplicationParts\ApplicationPartManagerTest.cs (3)
12var manager = new ApplicationPartManager(); 41var manager = new ApplicationPartManager(); 62var manager = new ApplicationPartManager();
Controllers\ControllerFeatureProviderTest.cs (21)
18var manager = GetApplicationPartManager(controllerType); 34var manager = GetApplicationPartManager(controllerType); 50var manager = GetApplicationPartManager(controllerType); 66var manager = GetApplicationPartManager(controllerType); 81var manager = GetApplicationPartManager(controllerType); 96var manager = GetApplicationPartManager(controllerType); 111var manager = GetApplicationPartManager(controllerType); 126var manager = GetApplicationPartManager(controllerType); 141var manager = GetApplicationPartManager(controllerType); 156var manager = GetApplicationPartManager(controllerType); 172var manager = GetApplicationPartManager(controllerType); 187var manager = GetApplicationPartManager(controllerType); 202var manager = GetApplicationPartManager(controllerType); 218var manager = GetApplicationPartManager(controllerType); 234var manager = GetApplicationPartManager(controllerType); 250var manager = GetApplicationPartManager(controllerType); 267var manager = GetApplicationPartManager(type.GetTypeInfo()); 283var manager = GetApplicationPartManager(controllerType); 373var manager = GetApplicationPartManager(type.GetTypeInfo()); 383private static ApplicationPartManager GetApplicationPartManager(params TypeInfo[] types) 385var manager = new ApplicationPartManager();
DependencyInjection\MvcBuilderExtensionsTest.cs (5)
21var manager = new ApplicationPartManager(); 40var manager = new ApplicationPartManager(); 116var manager = new ApplicationPartManager(); 168private static ApplicationPartManager GetApplicationPartManager(params TypeInfo[] types) 170var manager = new ApplicationPartManager();
DependencyInjection\MvcCoreBuilderExtensionsTest.cs (2)
19var manager = new ApplicationPartManager(); 37var manager = new ApplicationPartManager();
DependencyInjection\MvcCoreServiceCollectionExtensionsTest.cs (3)
112var manager = new ApplicationPartManager(); 132var mockManager = new Mock<ApplicationPartManager>(MockBehavior.Strict); 135var manager = new ApplicationPartManager();
Infrastructure\ActionSelectorTest.cs (3)
1004var manager = GetApplicationManager(controllerTypes); 1015private static ApplicationPartManager GetApplicationManager(List<TypeInfo> controllerTypes) 1017var manager = new ApplicationPartManager();
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
AntiforgeryMiddlewareTest.cs (1)
270this ApplicationPartManager partManager,
Microsoft.AspNetCore.Mvc.Localization.Test (2)
MvcLocalizationMvcBuilderExtensionsTest.cs (1)
145public ApplicationPartManager PartManager => new ApplicationPartManager();
MvcLocalizationMvcCoreBuilderExtensionsTest.cs (1)
145public ApplicationPartManager PartManager => new ApplicationPartManager();
Microsoft.AspNetCore.Mvc.Razor (8)
Compilation\DefaultViewCompiler.cs (2)
21private readonly ApplicationPartManager _applicationPartManager; 27ApplicationPartManager applicationPartManager,
Compilation\DefaultViewCompilerProvider.cs (1)
15ApplicationPartManager applicationPartManager,
DependencyInjection\MvcRazorMvcCoreBuilderExtensions.cs (1)
64internal static void AddRazorViewEngineFeatureProviders(ApplicationPartManager partManager)
DependencyInjection\TagHelpersAsServices.cs (1)
14public static void AddTagHelpersAsServices(ApplicationPartManager manager, IServiceCollection services)
RazorHotReload.cs (1)
26ApplicationPartManager applicationPartManager)
TagHelpers\TagHelperFeature.cs (2)
12/// using the <see cref="ApplicationPartManager"/> that is available during startup at <see cref="IMvcBuilder.PartManager"/> 13/// and <see cref="IMvcCoreBuilder.PartManager"/> or at a later stage by requiring the <see cref="ApplicationPartManager"/>
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (4)
RazorReferenceManager.cs (2)
16private readonly ApplicationPartManager _partManager; 23ApplicationPartManager partManager,
RuntimeViewCompilerProvider.cs (2)
14private readonly ApplicationPartManager _applicationPartManager; 25ApplicationPartManager applicationPartManager,
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation.Test (4)
RazorReferenceManagerTest.cs (3)
22var applicationPartManager = GetApplicationPartManager(); 36private static ApplicationPartManager GetApplicationPartManager() 38var applicationPartManager = new ApplicationPartManager();
RuntimeViewCompilerTest.cs (1)
854var applicationPartManager = new ApplicationPartManager();
Microsoft.AspNetCore.Mvc.Razor.Test (5)
Compilation\DefaultViewCompilerTest.cs (2)
138private static ApplicationPartManager GetApplicationPartManager(TestViewsFeatureProvider featureProvider) 140var manager = new ApplicationPartManager();
DependencyInjection\MvcRazorMvcBuilderExtensionsTest.cs (2)
19var manager = new ApplicationPartManager(); 38var manager = new ApplicationPartManager();
DependencyInjection\MvcRazorMvcCoreBuilderExtensionsTest.cs (1)
78var manager = new ApplicationPartManager();
Microsoft.AspNetCore.Mvc.RazorPages (7)
ApplicationModels\CompiledPageRouteModelProvider.cs (4)
20private readonly ApplicationPartManager _applicationManager; 25ApplicationPartManager applicationManager, 48private IEnumerable<CompiledViewDescriptor> GetViewDescriptors(ApplicationPartManager applicationManager) 80protected virtual ViewsFeature GetViewFeature(ApplicationPartManager applicationManager)
Infrastructure\CompiledPageActionDescriptorProvider.cs (3)
21private readonly ApplicationPartManager _applicationPartManager; 29/// <param name="applicationPartManager">The <see cref="ApplicationPartManager"/>.</param> 35ApplicationPartManager applicationPartManager,
Microsoft.AspNetCore.Mvc.RazorPages.Test (2)
ApplicationModels\CompiledPageRouteModelProviderTest.cs (2)
492ApplicationPartManager partManager, 501protected override ViewsFeature GetViewFeature(ApplicationPartManager applicationManager)
Microsoft.AspNetCore.Mvc.Test (11)
MvcServiceCollectionExtensionsTest.cs (11)
310var descriptor = Assert.Single(services, d => d.ServiceType == typeof(ApplicationPartManager)); 313var manager = Assert.IsType<ApplicationPartManager>(descriptor.ImplementationInstance); 338var descriptor = Assert.Single(services, d => d.ServiceType == typeof(ApplicationPartManager)); 341var manager = Assert.IsType<ApplicationPartManager>(descriptor.ImplementationInstance); 364var descriptor = Assert.Single(services, d => d.ServiceType == typeof(ApplicationPartManager)); 367var manager = Assert.IsType<ApplicationPartManager>(descriptor.ImplementationInstance); 381var manager = new ApplicationPartManager(); 388var descriptor = Assert.Single(services, d => d.ServiceType == typeof(ApplicationPartManager));
Microsoft.AspNetCore.Mvc.ViewFeatures (7)
DependencyInjection\MvcViewFeaturesMvcCoreBuilderExtensions.cs (1)
62internal static void AddViewComponentApplicationPartsProviders(ApplicationPartManager manager)
ViewComponents\DefaultViewComponentDescriptorProvider.cs (4)
18private readonly ApplicationPartManager _partManager; 23/// <param name="partManager">The <see cref="ApplicationPartManager"/>.</param> 24public DefaultViewComponentDescriptorProvider(ApplicationPartManager partManager) 38/// Gets the candidate <see cref="TypeInfo"/> instances provided by the <see cref="ApplicationPartManager"/>.
ViewComponents\ViewComponentFeature.cs (2)
12/// using the <see cref="ApplicationPartManager"/> that is available during startup at <see cref="IMvcBuilder.PartManager"/> 13/// and <see cref="IMvcCoreBuilder.PartManager"/> or at a later stage by requiring the <see cref="ApplicationPartManager"/>
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (10)
DependencyInjection\MvcViewFeaturesMvcBuilderExtensionsTest.cs (2)
129var manager = new ApplicationPartManager(); 161var manager = new ApplicationPartManager();
ViewComponents\DefaultViewComponentDescriptorProviderTest.cs (2)
168private static ApplicationPartManager GetApplicationPartManager(IEnumerable<TypeInfo> types) 170var manager = new ApplicationPartManager();
ViewComponents\DefaultViewComponentHelperTest.cs (2)
189private static ApplicationPartManager GetApplicationPartManager(IEnumerable<TypeInfo> types) 191var manager = new ApplicationPartManager();
ViewComponents\DefaultViewComponentSelectorTest.cs (2)
250private static ApplicationPartManager GetApplicationPartManager(IEnumerable<Type> types) 252var manager = new ApplicationPartManager();
ViewComponents\ViewComponentFeatureProviderTest.cs (2)
17var manager = new ApplicationPartManager(); 34var manager = new ApplicationPartManager();
RazorBuildWebSite (1)
StartupWithHostingStartup.cs (1)
52public ApplicationPartManager PartManager { get; }