TagsAttribute Třída

Definice

Určuje kolekci značek v Metadata.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Delegate | System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)]
public sealed class TagsAttribute : Attribute, Microsoft.AspNetCore.Http.Metadata.ITagsMetadata
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Delegate | System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)>]
type TagsAttribute = class
    inherit Attribute
    interface ITagsMetadata
Public NotInheritable Class TagsAttribute
Inherits Attribute
Implements ITagsMetadata
Dědičnost
TagsAttribute
Atributy
Implementuje

Poznámky

Specifikace OpenAPI podporuje klasifikaci značek pro kategorizaci operací do souvisejících skupin. Tyto značky jsou obvykle zahrnuty ve vygenerované specifikaci a obvykle se používají k seskupení operací podle značek v uživatelském rozhraní.

Konstruktory

TagsAttribute(String[])

Inicializuje instanci TagsAttribute.

Vlastnosti

Tags

Získá kolekci značek přidružených ke koncovému bodu.

Platí pro