ViewComponentFeatureProvider Class

Discovers view components from a list of Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart instances.

Namespace
Microsoft.AspNetCore.Mvc.ViewComponents
Assemblies
  • Microsoft.AspNetCore.Mvc.ViewFeatures

Syntax

public class ViewComponentFeatureProvider : IApplicationFeatureProvider<ViewComponentFeature>, IApplicationFeatureProvider
class Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentFeatureProvider

Methods

PopulateFeature(System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPart>, Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentFeature)
public void PopulateFeature(IEnumerable<ApplicationPart> parts, ViewComponentFeature feature)