Dela via


MetadataReferenceFeatureProvider.PopulateFeature Method

Definition

Updates the feature instance.

public:
 virtual void PopulateFeature(System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Mvc::ApplicationParts::ApplicationPart ^> ^ parts, Microsoft::AspNetCore::Mvc::Razor::Compilation::MetadataReferenceFeature ^ feature);
public void PopulateFeature (System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart> parts, Microsoft.AspNetCore.Mvc.Razor.Compilation.MetadataReferenceFeature feature);
abstract member PopulateFeature : seq<Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart> * Microsoft.AspNetCore.Mvc.Razor.Compilation.MetadataReferenceFeature -> unit
override this.PopulateFeature : seq<Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart> * Microsoft.AspNetCore.Mvc.Razor.Compilation.MetadataReferenceFeature -> unit
Public Sub PopulateFeature (parts As IEnumerable(Of ApplicationPart), feature As MetadataReferenceFeature)

Parameters

parts
IEnumerable<ApplicationPart>

The list of ApplicationPart instances in the application.

feature
MetadataReferenceFeature

The feature instance to populate.

Implements

Applies to