EndpointRouteBuilderExtensions.MapPatch メソッド

定義

オーバーロード

MapPatch(IEndpointRouteBuilder, String, RequestDelegate)

RouteEndpoint指定したパターンの IEndpointRouteBuilder HTTP PATCH 要求に一致する を に追加します。

MapPatch(IEndpointRouteBuilder, String, Delegate)

RouteEndpoint指定したパターンの IEndpointRouteBuilder HTTP PATCH 要求に一致する を に追加します。

MapPatch(IEndpointRouteBuilder, String, RequestDelegate)

RouteEndpoint指定したパターンの IEndpointRouteBuilder HTTP PATCH 要求に一致する を に追加します。

public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapPatch (this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, Microsoft.AspNetCore.Http.RequestDelegate requestDelegate);
static member MapPatch : Microsoft.AspNetCore.Routing.IEndpointRouteBuilder * string * Microsoft.AspNetCore.Http.RequestDelegate -> Microsoft.AspNetCore.Builder.IEndpointConventionBuilder
<Extension()>
Public Function MapPatch (endpoints As IEndpointRouteBuilder, pattern As String, requestDelegate As RequestDelegate) As IEndpointConventionBuilder

パラメーター

endpoints
IEndpointRouteBuilder

IEndpointRouteBuilderルートを追加する 。

pattern
String

ルート パターン。

requestDelegate
RequestDelegate

エンドポイントが一致したときに実行されるデリゲート。

戻り値

IEndpointConventionBuilderエンドポイントをさらにカスタマイズするために使用できる 。

適用対象

MapPatch(IEndpointRouteBuilder, String, Delegate)

RouteEndpoint指定したパターンの IEndpointRouteBuilder HTTP PATCH 要求に一致する を に追加します。

public static Microsoft.AspNetCore.Builder.RouteHandlerBuilder MapPatch (this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, Delegate handler);
static member MapPatch : Microsoft.AspNetCore.Routing.IEndpointRouteBuilder * string * Delegate -> Microsoft.AspNetCore.Builder.RouteHandlerBuilder
<Extension()>
Public Function MapPatch (endpoints As IEndpointRouteBuilder, pattern As String, handler As Delegate) As RouteHandlerBuilder

パラメーター

endpoints
IEndpointRouteBuilder

IEndpointRouteBuilderルートを追加する 。

pattern
String

ルート パターン。

handler
Delegate

Delegateエンドポイントが一致したときに実行される 。

戻り値

RouteHandlerBuilderエンドポイントをさらにカスタマイズするために使用できる 。

適用対象