Aracılığıyla paylaş


TagsAttribute Sınıf

Tanım

içindeki Metadataetiket koleksiyonunu belirtir.

[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
Devralma
TagsAttribute
Öznitelikler
Uygulamalar

Açıklamalar

OpenAPI belirtimi, işlemleri ilgili gruplara ayırmak için bir etiket sınıflandırmasını destekler. Bu etiketler genellikle oluşturulan belirtimlere dahil edilir ve genellikle işlemleri kullanıcı arabirimindeki etiketlere göre gruplandırmak için kullanılır.

Oluşturucular

TagsAttribute(String[])

öğesinin bir örneğini TagsAttributebaşlatır.

Özellikler

Tags

Uç noktayla ilişkili etiket koleksiyonunu alır.

Yöntemler

ToString()

içindeki Metadataetiket koleksiyonunu belirtir.

Şunlara uygulanır