ApiDescriptionGroup Class

Summary

Represents a group of related apis.

Syntax

public class ApiDescriptionGroup

GitHub

View on GitHub

class Microsoft.AspNet.Mvc.ApiExplorer.ApiDescriptionGroup

Constructors

ApiDescriptionGroup(System.String, System.Collections.Generic.IReadOnlyList<Microsoft.AspNet.Mvc.ApiExplorer.ApiDescription>)

Creates a new [Microsoft.AspNet.Mvc.ApiExplorer.ApiDescriptionGroup](Microsoft.AspNet.Mvc.ApiExplorer.ApiDescriptionGroup.yml).

Arguments:
  • groupName (System.String) – The group name.
  • items (System.Collections.Generic.IReadOnlyList{Microsoft.AspNet.Mvc.ApiExplorer.ApiDescription}) – A collection of [Microsoft.AspNet.Mvc.ApiExplorer.ApiDescription](Microsoft.AspNet.Mvc.ApiExplorer.ApiDescription.yml) items for this group.
public ApiDescriptionGroup(string groupName, IReadOnlyList<ApiDescription> items)

Properties

GroupName()

The group name.

Return type:System.String
public string GroupName { get; }
Items()

A collection of [Microsoft.AspNet.Mvc.ApiExplorer.ApiDescription](Microsoft.AspNet.Mvc.ApiExplorer.ApiDescription.yml) items for this group.

Return type:System.Collections.Generic.IReadOnlyList{Microsoft.AspNet.Mvc.ApiExplorer.ApiDescription}
public IReadOnlyList<ApiDescription> Items { get; }