RouteHandlerBuilder クラス

定義

MapAction EndpointBuilder インスタンスのカスタマイズに使用される規則を構築します。

public sealed class RouteHandlerBuilder : Microsoft.AspNetCore.Builder.IEndpointConventionBuilder
type RouteHandlerBuilder = class
    interface IEndpointConventionBuilder
Public NotInheritable Class RouteHandlerBuilder
Implements IEndpointConventionBuilder
継承
RouteHandlerBuilder
実装

コンストラクター

RouteHandlerBuilder(IEnumerable<IEndpointConventionBuilder>)

指定された複数IEndpointConventionBuilderのインスタンスを新しくRouteHandlerBuilderインスタンス化します。

メソッド

Add(Action<EndpointBuilder>)

指定した規則をビルダーに追加します。 規則は、インスタンスをカスタマイズ EndpointBuilder するために使用されます。

Finally(Action<EndpointBuilder>)

を使用して登録された規則の後に、指定した規則を実行用に登録します Add(Action<EndpointBuilder>)

拡張メソッド

DisableRequestTimeout(IEndpointConventionBuilder)

エンドポイントの要求タイムアウトを無効にします。

WithRequestTimeout(IEndpointConventionBuilder, RequestTimeoutPolicy)

エンドポイントに対する のタイムアウト ポリシーを指定します。

WithRequestTimeout(IEndpointConventionBuilder, String)

エンドポイントに対する のタイムアウト ポリシーを指定します。

WithRequestTimeout(IEndpointConventionBuilder, TimeSpan)

エンドポイントのタイムアウトを指定します。

ShortCircuit(IEndpointConventionBuilder, Nullable<Int32>)

エンドポイントを短絡します。 エンドポイントの実行は、UseEndpoint ではなく UseRouting ミドルウェアで行われます。

AddEndpointFilter<TFilterType>(RouteHandlerBuilder)

TFilterType のフィルターをルート ハンドラーに登録します。

Accepts(RouteHandlerBuilder, Type, Boolean, String, String[])

によってbuilder生成されるすべてのエンドポイントの に Metadata を追加IAcceptsMetadataします。

Accepts(RouteHandlerBuilder, Type, String, String[])

によってbuilder生成されるすべてのエンドポイントの に Metadata を追加IAcceptsMetadataします。

Accepts<TRequest>(RouteHandlerBuilder, Boolean, String, String[])

によってbuilder生成されるすべてのエンドポイントの に Metadata を追加IAcceptsMetadataします。

Accepts<TRequest>(RouteHandlerBuilder, String, String[])

によってbuilder生成されるすべてのエンドポイントの に Metadata を追加IAcceptsMetadataします。

ExcludeFromDescription(RouteHandlerBuilder)

IExcludeFromDescriptionMetadataによってbuilder生成されるすべてのエンドポイントの に Metadata を追加します。

Produces(RouteHandlerBuilder, Int32, Type, String, String[])

IProducesResponseTypeMetadataによってbuilder生成されるすべてのエンドポイントの に Metadata を追加します。

Produces<TResponse>(RouteHandlerBuilder, Int32, String, String[])

IProducesResponseTypeMetadataによってbuilder生成されるすべてのエンドポイントの に Metadata を追加します。

ProducesProblem(RouteHandlerBuilder, Int32, String)

IProducesResponseTypeMetadataによってbuilder生成されるすべてのエンドポイントに対してMetadata、 型を 持つ ProblemDetails を に追加します。

ProducesValidationProblem(RouteHandlerBuilder, Int32, String)

IProducesResponseTypeMetadataによってbuilder生成されるすべてのエンドポイントに対してMetadata、 型を 持つ HttpValidationProblemDetails を に追加します。

WithTags(RouteHandlerBuilder, String[])

ITagsMetadataによってbuilder生成されるすべてのエンドポイントの に Metadata を追加します。

適用対象