OpenApiRouteHandlerBuilderExtensions.ExcludeFromDescription Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ExcludeFromDescription(RouteHandlerBuilder) |
Adds the IExcludeFromDescriptionMetadata to Metadata for all endpoints
produced by |
ExcludeFromDescription<TBuilder>(TBuilder) |
Adds the IExcludeFromDescriptionMetadata to Metadata for all endpoints
produced by |
ExcludeFromDescription(RouteHandlerBuilder)
Adds the IExcludeFromDescriptionMetadata to Metadata for all endpoints
produced by 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
Parameters
- builder
- RouteHandlerBuilder
The RouteHandlerBuilder.
Returns
A RouteHandlerBuilder that can be used to further customize the endpoint.
Applies to
ExcludeFromDescription<TBuilder>(TBuilder)
Adds the IExcludeFromDescriptionMetadata to Metadata for all endpoints
produced by 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
Type Parameters
- TBuilder
Parameters
- builder
- TBuilder
Returns
A IEndpointConventionBuilder that can be used to further customize the endpoint.