ActionDescriptorCollection 构造函数

定义

初始化 ActionDescriptorCollection 的新实例。

public:
 ActionDescriptorCollection(System::Collections::Generic::IReadOnlyList<Microsoft::AspNetCore::Mvc::Abstractions::ActionDescriptor ^> ^ items, int version);
public ActionDescriptorCollection (System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor> items, int version);
new Microsoft.AspNetCore.Mvc.Infrastructure.ActionDescriptorCollection : System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor> * int -> Microsoft.AspNetCore.Mvc.Infrastructure.ActionDescriptorCollection
Public Sub New (items As IReadOnlyList(Of ActionDescriptor), version As Integer)

参数

items
IReadOnlyList<ActionDescriptor>

操作发现的结果

version
Int32

发现操作的唯一版本。

适用于