Share via


TagsAttribute Classe

Definizione

Specifica una raccolta di tag in 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
Ereditarietà
TagsAttribute
Attributi
Implementazioni

Commenti

La specifica OpenAPI supporta una classificazione dei tag per classificare le operazioni in gruppi correlati. Questi tag vengono in genere inclusi nella specifica generata e vengono in genere usati per raggruppare le operazioni in base ai tag nell'interfaccia utente.

Costruttori

TagsAttribute(String[])

Inizializza un'istanza della classe TagsAttribute.

Proprietà

Tags

Ottiene la raccolta di tag associati all'endpoint.

Metodi

ToString()

Specifica una raccolta di tag in Metadata.

Si applica a