Share via


DefaultViewComponentSelector Class

Definition

Default implementation of IViewComponentSelector.

public ref class DefaultViewComponentSelector : Microsoft::AspNetCore::Mvc::ViewComponents::IViewComponentSelector
public class DefaultViewComponentSelector : Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentSelector
type DefaultViewComponentSelector = class
    interface IViewComponentSelector
Public Class DefaultViewComponentSelector
Implements IViewComponentSelector
Inheritance
DefaultViewComponentSelector
Implements

Constructors

DefaultViewComponentSelector(IViewComponentDescriptorCollectionProvider)

Creates a new DefaultViewComponentSelector.

Methods

SelectComponent(String)

Selects a view component based on componentName.

Applies to