Поделиться через


ViewComponentFeatureProvider.PopulateFeature Метод

Определение

Обновления экземпляра feature .

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

Параметры

parts
IEnumerable<ApplicationPart>

Список экземпляров ApplicationPart в приложении.

feature
ViewComponentFeature

Заполняемого экземпляра компонента.

Реализации

Применяется к