ViewComponentDescriptorCollection Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ViewComponentDescriptorCollection.
public:
ViewComponentDescriptorCollection(System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Mvc::ViewComponents::ViewComponentDescriptor ^> ^ items, int version);
public ViewComponentDescriptorCollection (System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptor> items, int version);
new Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptorCollection : seq<Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptor> * int -> Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentDescriptorCollection
Public Sub New (items As IEnumerable(Of ViewComponentDescriptor), version As Integer)
Parameters
The result of view component discovery
- version
- Int32
The unique version of discovered view components.