DefaultViewComponentDescriptorProvider.GetViewComponents 方法

定义

获取 的 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)

返回

ViewComponentDescriptor 的列表。

实现

适用于