IApplicationFeatureProvider<TFeature>.PopulateFeature 方法

定义

feature汇报 实例。

public:
 void PopulateFeature(System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Mvc::ApplicationParts::ApplicationPart ^> ^ parts, TFeature feature);
public void PopulateFeature (System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart> parts, TFeature feature);
abstract member PopulateFeature : seq<Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart> * 'Feature -> unit
Public Sub PopulateFeature (parts As IEnumerable(Of ApplicationPart), feature As TFeature)

参数

parts
IEnumerable<ApplicationPart>

应用程序中的 ApplicationPart 实例列表。

feature
TFeature

要填充的功能实例。

注解

ApplicationPart 中的 parts 实例以存储在 中的 ApplicationParts同一顺序显示。 功能提供程序可以使用此排序来做出优先决策。

适用于