IViewComponentDescriptorProvider Interface

Summary

Discovers the View Components in the application.

Syntax

public interface IViewComponentDescriptorProvider

GitHub

View on GitHub

interface Microsoft.AspNet.Mvc.ViewComponents.IViewComponentDescriptorProvider

Methods

Microsoft.AspNet.Mvc.ViewComponents.IViewComponentDescriptorProvider.GetViewComponents()

Gets the set of [Microsoft.AspNet.Mvc.ViewComponents.ViewComponentDescriptor](Microsoft.AspNet.Mvc.ViewComponents.ViewComponentDescriptor.yml).

Return type:System.Collections.Generic.IEnumerable{Microsoft.AspNet.Mvc.ViewComponents.ViewComponentDescriptor}
Returns:A list of [Microsoft.AspNet.Mvc.ViewComponents.ViewComponentDescriptor](Microsoft.AspNet.Mvc.ViewComponents.ViewComponentDescriptor.yml).
IEnumerable<ViewComponentDescriptor> GetViewComponents()