ViewComponentFeatureProvider.PopulateFeature Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Updates the feature
instance.
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)
Parameters
- parts
- IEnumerable<ApplicationPart>
The list of ApplicationPart instances in the application.
- feature
- ViewComponentFeature
The feature instance to populate.