ApiDescriptionGroup(String, IReadOnlyList<ApiDescription>) 构造函数

定义

创建一个新的 ApiDescriptionGroup

public:
 ApiDescriptionGroup(System::String ^ groupName, System::Collections::Generic::IReadOnlyList<Microsoft::AspNetCore::Mvc::ApiExplorer::ApiDescription ^> ^ items);
public ApiDescriptionGroup (string groupName, System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescription> items);
public ApiDescriptionGroup (string? groupName, System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescription> items);
new Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionGroup : string * System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescription> -> Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionGroup
Public Sub New (groupName As String, items As IReadOnlyList(Of ApiDescription))

参数

groupName
String

组名称。

items
IReadOnlyList<ApiDescription>

此组的 ApiDescription 项集合。

适用于