OpenApiRouteHandlerBuilderExtensions.ExcludeFromDescription 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ExcludeFromDescription(RouteHandlerBuilder) |
IExcludeFromDescriptionMetadata
Metadata 針對 所產生的 |
ExcludeFromDescription<TBuilder>(TBuilder) |
IExcludeFromDescriptionMetadata
Metadata 針對 所產生的 |
ExcludeFromDescription(RouteHandlerBuilder)
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
參數
- builder
- RouteHandlerBuilder
傳回
RouteHandlerBuilder,可用來進一步自訂端點。
適用於
ExcludeFromDescription<TBuilder>(TBuilder)
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
傳回
TBuilder
IEndpointConventionBuilder,可用來進一步自訂端點。