ControllerFeatureProvider 类

定义

从实例列表中 ApplicationPart 发现控制器。

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)
继承
ControllerFeatureProvider
实现

构造函数

ControllerFeatureProvider()

从实例列表中 ApplicationPart 发现控制器。

方法

IsController(TypeInfo)

确定给定 typeInfo 的 是否为控制器。

PopulateFeature(IEnumerable<ApplicationPart>, ControllerFeature)

feature汇报实例。

适用于