Dela via


DefaultViewComponentDescriptorProvider.GetViewComponents Method

Definition

Gets the set of ViewComponentDescriptor.

public:
 virtual System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Mvc::ViewComponents::ViewComponentDescriptor ^> ^ GetViewComponents();
public virtual System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptor> GetViewComponents ();
abstract member GetViewComponents : unit -> seq<Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptor>
override this.GetViewComponents : unit -> seq<Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptor>
Public Overridable Function GetViewComponents () As IEnumerable(Of ViewComponentDescriptor)

Returns

A list of ViewComponentDescriptor.

Implements

Applies to