Dela via


ApiDescriptionGroup(String, IReadOnlyList<ApiDescription>) Constructor

Definition

Creates a new 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))

Parameters

groupName
String

The group name.

items
IReadOnlyList<ApiDescription>

A collection of ApiDescription items for this group.

Applies to