Dela via


ControllerFeatureProvider Class

Definition

Discovers controllers from a list of ApplicationPart instances.

public ref class ControllerFeatureProvider : Microsoft::AspNetCore::Mvc::ApplicationParts::IApplicationFeatureProvider<Microsoft::AspNetCore::Mvc::Controllers::ControllerFeature ^>
public class ControllerFeatureProvider : Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider<Microsoft.AspNetCore.Mvc.Controllers.ControllerFeature>
type ControllerFeatureProvider = class
    interface IApplicationFeatureProvider<ControllerFeature>
    interface IApplicationFeatureProvider
type ControllerFeatureProvider = class
    interface IApplicationFeatureProvider
    interface IApplicationFeatureProvider<ControllerFeature>
Public Class ControllerFeatureProvider
Implements IApplicationFeatureProvider(Of ControllerFeature)
Inheritance
ControllerFeatureProvider
Implements

Constructors

ControllerFeatureProvider()

Methods

IsController(TypeInfo)

Determines if a given typeInfo is a controller.

PopulateFeature(IEnumerable<ApplicationPart>, ControllerFeature)

Updates the feature instance.

Applies to