ApiDescriptionGroup Class¶
Represents a group of related apis.
- Namespace
Microsoft.AspNetCore.Mvc.ApiExplorer
- Assemblies
- Microsoft.AspNetCore.Mvc.ApiExplorer
Syntax¶
public class ApiDescriptionGroup
-
class
Microsoft.AspNetCore.Mvc.ApiExplorer.
ApiDescriptionGroup
Constructors¶
-
ApiDescriptionGroup
(System.String, System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescription>)¶ Creates a new
Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionGroup
.Arguments: - groupName (System.String) – The group name.
- items (System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescription>) – A collection of
Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescription
items for this group.
public ApiDescriptionGroup(string groupName, IReadOnlyList<ApiDescription> items)
-
Properties¶
-
Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionGroup.
GroupName
¶ The group name.
Return type: System.String public string GroupName { get; }
-
Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescriptionGroup.
Items
¶ A collection of
Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescription
items for this group.Return type: System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Mvc.ApiExplorer.ApiDescription> public IReadOnlyList<ApiDescription> Items { get; }
-