共用方式為


OpenApiRouteHandlerBuilderExtensions.ExcludeFromDescription 方法

定義

多載

ExcludeFromDescription(RouteHandlerBuilder)

IExcludeFromDescriptionMetadata Metadata 針對 所產生的 builder 所有端點,將 加入 至 。

ExcludeFromDescription<TBuilder>(TBuilder)

IExcludeFromDescriptionMetadata Metadata 針對 所產生的 builder 所有端點,將 加入 至 。

ExcludeFromDescription(RouteHandlerBuilder)

來源:
OpenApiRouteHandlerBuilderExtensions.cs

IExcludeFromDescriptionMetadata Metadata 針對 所產生的 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

參數

傳回

RouteHandlerBuilder,可用來進一步自訂端點。

適用於

ExcludeFromDescription<TBuilder>(TBuilder)

來源:
OpenApiRouteHandlerBuilderExtensions.cs

IExcludeFromDescriptionMetadata Metadata 針對 所產生的 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

類型參數

TBuilder

參數

builder
TBuilder

IEndpointConventionBuilder

傳回

TBuilder

IEndpointConventionBuilder,可用來進一步自訂端點。

適用於