Share via


IApplicationFeatureProvider<TFeature>.PopulateFeature Method

Definition

Updates the feature instance.

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)

Parameters

parts
IEnumerable<ApplicationPart>

The list of ApplicationPart instances in the application.

feature
TFeature

The feature instance to populate.

Remarks

ApplicationPart instances in parts appear in the same ordered sequence they are stored in ApplicationParts. This ordering may be used by the feature provider to make precedence decisions.

Applies to