ControllerFeatureProvider Class

Definition

Discovers controllers from a list of ApplicationPart instances.

C#
public class ControllerFeatureProvider : Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider<Microsoft.AspNetCore.Mvc.Controllers.ControllerFeature>
Inheritance
ControllerFeatureProvider
Implements

Constructors

Methods

IsController(TypeInfo)

Determines if a given typeInfo is a controller.

PopulateFeature(IEnumerable<ApplicationPart>, ControllerFeature)

Updates the feature instance.

Applies to

Product Versions
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0