共用方式為


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更新 實例。

適用於