2 implementations of PartManager
Microsoft.AspNetCore.Mvc.Core (1)
DependencyInjection\MvcCoreBuilder.cs (1)
30public ApplicationPartManager PartManager { get; }
Microsoft.AspNetCore.Mvc.Localization.Test (1)
MvcLocalizationMvcCoreBuilderExtensionsTest.cs (1)
145public ApplicationPartManager PartManager => new ApplicationPartManager();
32 references to PartManager
Microsoft.AspNetCore.Mvc (8)
MvcServiceCollectionExtensions.cs (8)
88return new MvcBuilder(builder.Services, builder.PartManager); 129return new MvcBuilder(builder.Services, builder.PartManager); 181return new MvcBuilder(builder.Services, builder.PartManager); 220return new MvcBuilder(builder.Services, builder.PartManager); 230AddTagHelpersFrameworkParts(builder.PartManager); 262return new MvcBuilder(builder.Services, builder.PartManager); 298return new MvcBuilder(builder.Services, builder.PartManager); 312AddTagHelpersFrameworkParts(builder.PartManager);
Microsoft.AspNetCore.Mvc.Core (5)
Controllers\ControllerFeature.cs (1)
13/// and <see cref="IMvcCoreBuilder.PartManager"/> or at a later stage by requiring the <see cref="ApplicationPartManager"/>
DependencyInjection\MvcCoreMvcCoreBuilderExtensions.cs (4)
142builder.PartManager.PopulateFeature(feature); 156/// <see cref="IMvcCoreBuilder.PartManager"/>. 179/// Configures the <see cref="ApplicationPartManager"/> of the <see cref="IMvcCoreBuilder.PartManager"/> using 192setupAction(builder.PartManager);
Microsoft.AspNetCore.Mvc.Core.Test (11)
DependencyInjection\MvcCoreServiceCollectionExtensionsTest.cs (11)
122Assert.Same(manager, builder.PartManager); 142Assert.Same(manager, builder.PartManager); 159Assert.NotNull(builder.PartManager); 160Assert.Empty(builder.PartManager.ApplicationParts); 161Assert.Contains(builder.PartManager.FeatureProviders, provider => provider is ControllerFeatureProvider); 183Assert.NotNull(builder.PartManager); 184Assert.Empty(builder.PartManager.ApplicationParts); 185Assert.Contains(builder.PartManager.FeatureProviders, provider => provider is ControllerFeatureProvider); 205Assert.NotNull(builder.PartManager); 207builder.PartManager.ApplicationParts, 209Assert.Contains(builder.PartManager.FeatureProviders, provider => provider is ControllerFeatureProvider);
Microsoft.AspNetCore.Mvc.Razor (4)
DependencyInjection\MvcRazorMvcCoreBuilderExtensions.cs (3)
36AddRazorViewEngineFeatureProviders(builder.PartManager); 56AddRazorViewEngineFeatureProviders(builder.PartManager); 87TagHelpersAsServices.AddTagHelpersAsServices(builder.PartManager, builder.Services);
TagHelpers\TagHelperFeature.cs (1)
13/// and <see cref="IMvcCoreBuilder.PartManager"/> or at a later stage by requiring the <see cref="ApplicationPartManager"/>
Microsoft.AspNetCore.Mvc.Razor.Test (2)
DependencyInjection\MvcRazorMvcCoreBuilderExtensionsTest.cs (2)
26Assert.Empty(builder.PartManager.ApplicationParts); 49Assert.Empty(builder.PartManager.ApplicationParts);
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
DependencyInjection\MvcViewFeaturesMvcCoreBuilderExtensions.cs (1)
38AddViewComponentApplicationPartsProviders(builder.PartManager);
ViewComponents\ViewComponentFeature.cs (1)
13/// and <see cref="IMvcCoreBuilder.PartManager"/> or at a later stage by requiring the <see cref="ApplicationPartManager"/>