Język

ExcludeFromDescriptionAttribute Klasa

Definicja

Wskazuje, że nie powinno to Endpoint być uwzględniane w wygenerowanych metadanych interfejsu API.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Delegate | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public sealed class ExcludeFromDescriptionAttribute : Attribute, Microsoft.AspNetCore.Routing.IExcludeFromDescriptionMetadata
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Delegate | System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)>]
type ExcludeFromDescriptionAttribute = class
    inherit Attribute
    interface IExcludeFromDescriptionMetadata
Public NotInheritable Class ExcludeFromDescriptionAttribute
Inherits Attribute
Implements IExcludeFromDescriptionMetadata
Dziedziczenie
ExcludeFromDescriptionAttribute
Atrybuty
Implementuje

Konstruktory

Nazwa Opis
ExcludeFromDescriptionAttribute()

Wskazuje, że nie powinno to Endpoint być uwzględniane w wygenerowanych metadanych interfejsu API.

Właściwości

Nazwa Opis
ExcludeFromDescription

Pobiera wartość wskazującą, czy dane interfejsu OpenAPI powinny być wykluczone dla tego punktu końcowego. Jeśli truemetadane interfejsu API nie są emitowane.

Metody

Nazwa Opis
ToString()

Wskazuje, że nie powinno to Endpoint być uwzględniane w wygenerowanych metadanych interfejsu API.

Dotyczy