共用方式為


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 中的相同排序次序出現。 此功能提供者可能會使用此排序來做出優先順序決策。

適用於