ViewComponentFeatureProvider 类

定义

从实例列表中 ApplicationPart 发现视图组件。

public ref class ViewComponentFeatureProvider : Microsoft::AspNetCore::Mvc::ApplicationParts::IApplicationFeatureProvider<Microsoft::AspNetCore::Mvc::ViewComponents::ViewComponentFeature ^>
public class ViewComponentFeatureProvider : Microsoft.AspNetCore.Mvc.ApplicationParts.IApplicationFeatureProvider<Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentFeature>
type ViewComponentFeatureProvider = class
    interface IApplicationFeatureProvider<ViewComponentFeature>
    interface IApplicationFeatureProvider
type ViewComponentFeatureProvider = class
    interface IApplicationFeatureProvider
    interface IApplicationFeatureProvider<ViewComponentFeature>
Public Class ViewComponentFeatureProvider
Implements IApplicationFeatureProvider(Of ViewComponentFeature)
继承
ViewComponentFeatureProvider
实现

构造函数

ViewComponentFeatureProvider()

从实例列表中 ApplicationPart 发现视图组件。

方法

PopulateFeature(IEnumerable<ApplicationPart>, ViewComponentFeature)

feature汇报 实例。

适用于