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>

操作列表。

适用于