24 instantiations of ControllerFeature
Microsoft.AspNetCore.Mvc.Core (3)
ApplicationModels\ControllerActionDescriptorProvider.cs (1)
84var feature = new ControllerFeature();
DependencyInjection\MvcCoreMvcBuilderExtensions.cs (1)
124var feature = new ControllerFeature();
DependencyInjection\MvcCoreMvcCoreBuilderExtensions.cs (1)
141var feature = new ControllerFeature();
Microsoft.AspNetCore.Mvc.Core.Test (21)
Controllers\ControllerFeatureProviderTest.cs (21)
19var feature = new ControllerFeature(); 35var feature = new ControllerFeature(); 51var feature = new ControllerFeature(); 67var feature = new ControllerFeature(); 82var feature = new ControllerFeature(); 97var feature = new ControllerFeature(); 112var feature = new ControllerFeature(); 127var feature = new ControllerFeature(); 142var feature = new ControllerFeature(); 157var feature = new ControllerFeature(); 173var feature = new ControllerFeature(); 188var feature = new ControllerFeature(); 203var feature = new ControllerFeature(); 219var feature = new ControllerFeature(); 235var feature = new ControllerFeature(); 251var feature = new ControllerFeature(); 268var feature = new ControllerFeature(); 284var feature = new ControllerFeature(); 309var feature = new ControllerFeature(); 342var feature = new ControllerFeature(); 374var feature = new ControllerFeature();
36 references to ControllerFeature
Microsoft.AspNetCore.Mvc.Core (6)
ApplicationModels\ControllerActionDescriptorProvider.cs (1)
84var feature = new ControllerFeature();
Controllers\ControllerFeature.cs (1)
11/// The list of controllers types in an MVC application. The <see cref="ControllerFeature"/> can be populated
Controllers\ControllerFeatureProvider.cs (2)
13public class ControllerFeatureProvider : IApplicationFeatureProvider<ControllerFeature> 20ControllerFeature feature)
DependencyInjection\MvcCoreMvcBuilderExtensions.cs (1)
124var feature = new ControllerFeature();
DependencyInjection\MvcCoreMvcCoreBuilderExtensions.cs (1)
141var feature = new ControllerFeature();
Microsoft.AspNetCore.Mvc.Core.Test (23)
Controllers\ControllerFeatureProviderTest.cs (21)
19var feature = new ControllerFeature(); 35var feature = new ControllerFeature(); 51var feature = new ControllerFeature(); 67var feature = new ControllerFeature(); 82var feature = new ControllerFeature(); 97var feature = new ControllerFeature(); 112var feature = new ControllerFeature(); 127var feature = new ControllerFeature(); 142var feature = new ControllerFeature(); 157var feature = new ControllerFeature(); 173var feature = new ControllerFeature(); 188var feature = new ControllerFeature(); 203var feature = new ControllerFeature(); 219var feature = new ControllerFeature(); 235var feature = new ControllerFeature(); 251var feature = new ControllerFeature(); 268var feature = new ControllerFeature(); 284var feature = new ControllerFeature(); 309var feature = new ControllerFeature(); 342var feature = new ControllerFeature(); 374var feature = new ControllerFeature();
TestFeatureProvider.cs (2)
10public class TestFeatureProvider : IApplicationFeatureProvider<ControllerFeature> 24public void PopulateFeature(IEnumerable<ApplicationPart> parts, ControllerFeature feature)
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
Builder\ControllerActionEndpointConventionBuilderResourceCollectionExtensionsTest.cs (2)
312private class TestControllerFeatureProvider : IApplicationFeatureProvider<ControllerFeature> 314public void PopulateFeature(IEnumerable<ApplicationPart> parts, ControllerFeature feature)
Mvc.RoutingWebSite (5)
Infrastructure\ManualControllerFeatureProvider.cs (4)
10internal class ManualControllerFeatureProvider : IApplicationFeatureProvider<ControllerFeature> 12private readonly Action<ControllerFeature> _action; 13public ManualControllerFeatureProvider(Action<ControllerFeature> action) 18public void PopulateFeature(IEnumerable<ApplicationPart> parts, ControllerFeature feature)
StartupForRouteGroupsWithMetadata.cs (1)
22var old = builder.PartManager.FeatureProviders.OfType<IApplicationFeatureProvider<ControllerFeature>>().FirstOrDefault();