共用方式為


MetadataReferenceFeatureProvider.PopulateFeature 方法

定義

feature更新 實例。

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)

參數

parts
IEnumerable<ApplicationPart>

應用程式中的 ApplicationPart 實例清單。

feature
MetadataReferenceFeature

要填入的功能實例。

實作

適用於