共用方式為


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

探索到動作的唯一版本。

適用於