共用方式為


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 集合。

適用於