共用方式為


ApiDescriptionProviderContext(IReadOnlyList<ActionDescriptor>) 建構函式

定義

建立 ApiDescriptionProviderContext 的新執行個體。

public:
 ApiDescriptionProviderContext(System::Collections::Generic::IReadOnlyList<Microsoft::AspNetCore::Mvc::Abstractions::ActionDescriptor ^> ^ actions);
public ApiDescriptionProviderContext (System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor> actions);
new Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionProviderContext : System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.Abstractions.ActionDescriptor> -> Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionProviderContext
Public Sub New (actions As IReadOnlyList(Of ActionDescriptor))

參數

actions
IReadOnlyList<ActionDescriptor>

動作清單。

適用於