Condividi tramite


OpenApiRouteHandlerBuilderExtensions.ExcludeFromDescription Metodo

Definizione

Overload

ExcludeFromDescription(RouteHandlerBuilder)

Aggiunge a IExcludeFromDescriptionMetadataMetadata per tutti gli endpoint prodotti da builder.

ExcludeFromDescription<TBuilder>(TBuilder)

Aggiunge a IExcludeFromDescriptionMetadataMetadata per tutti gli endpoint prodotti da builder.

ExcludeFromDescription(RouteHandlerBuilder)

Origine:
OpenApiRouteHandlerBuilderExtensions.cs

Aggiunge a IExcludeFromDescriptionMetadataMetadata per tutti gli endpoint prodotti da builder.

public static Microsoft.AspNetCore.Builder.RouteHandlerBuilder ExcludeFromDescription (this Microsoft.AspNetCore.Builder.RouteHandlerBuilder builder);
static member ExcludeFromDescription : Microsoft.AspNetCore.Builder.RouteHandlerBuilder -> Microsoft.AspNetCore.Builder.RouteHandlerBuilder
<Extension()>
Public Function ExcludeFromDescription (builder As RouteHandlerBuilder) As RouteHandlerBuilder

Parametri

Restituisce

Oggetto RouteHandlerBuilder che può essere usato per personalizzare ulteriormente l'endpoint.

Si applica a

ExcludeFromDescription<TBuilder>(TBuilder)

Origine:
OpenApiRouteHandlerBuilderExtensions.cs

Aggiunge a IExcludeFromDescriptionMetadataMetadata per tutti gli endpoint prodotti da builder.

public static TBuilder ExcludeFromDescription<TBuilder> (this TBuilder builder) where TBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder;
static member ExcludeFromDescription : 'Builder -> 'Builder (requires 'Builder :> Microsoft.AspNetCore.Builder.IEndpointConventionBuilder)
<Extension()>
Public Function ExcludeFromDescription(Of TBuilder As IEndpointConventionBuilder) (builder As TBuilder) As TBuilder

Parametri di tipo

TBuilder

Parametri

builder
TBuilder

Oggetto IEndpointConventionBuilder.

Restituisce

TBuilder

Oggetto IEndpointConventionBuilder che può essere usato per personalizzare ulteriormente l'endpoint.

Si applica a