EndpointRouteBuilderExtensions.MapMethods メソッド

定義

オーバーロード

MapMethods(IEndpointRouteBuilder, String, IEnumerable<String>, RequestDelegate)

RouteEndpointIEndpointRouteBuilder指定した HTTP メソッドとパターンの HTTP 要求に一致する を に追加します。

MapMethods(IEndpointRouteBuilder, String, IEnumerable<String>, Delegate)

RouteEndpointIEndpointRouteBuilder指定した HTTP メソッドとパターンの HTTP 要求に一致する を に追加します。

MapMethods(IEndpointRouteBuilder, String, IEnumerable<String>, RequestDelegate)

RouteEndpointIEndpointRouteBuilder指定した HTTP メソッドとパターンの HTTP 要求に一致する を に追加します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IEndpointConventionBuilder ^ MapMethods(Microsoft::AspNetCore::Routing::IEndpointRouteBuilder ^ endpoints, System::String ^ pattern, System::Collections::Generic::IEnumerable<System::String ^> ^ httpMethods, Microsoft::AspNetCore::Http::RequestDelegate ^ requestDelegate);
public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder MapMethods (this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, System.Collections.Generic.IEnumerable<string> httpMethods, Microsoft.AspNetCore.Http.RequestDelegate requestDelegate);
static member MapMethods : Microsoft.AspNetCore.Routing.IEndpointRouteBuilder * string * seq<string> * Microsoft.AspNetCore.Http.RequestDelegate -> Microsoft.AspNetCore.Builder.IEndpointConventionBuilder
<Extension()>
Public Function MapMethods (endpoints As IEndpointRouteBuilder, pattern As String, httpMethods As IEnumerable(Of String), requestDelegate As RequestDelegate) As IEndpointConventionBuilder

パラメーター

endpoints
IEndpointRouteBuilder

IEndpointRouteBuilderルートを追加する 。

pattern
String

ルート パターン。

httpMethods
IEnumerable<String>

エンドポイントが一致する HTTP メソッド。

requestDelegate
RequestDelegate

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

戻り値

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

適用対象

MapMethods(IEndpointRouteBuilder, String, IEnumerable<String>, Delegate)

RouteEndpointIEndpointRouteBuilder指定した HTTP メソッドとパターンの HTTP 要求に一致する を に追加します。

public static Microsoft.AspNetCore.Builder.RouteHandlerBuilder MapMethods (this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, System.Collections.Generic.IEnumerable<string> httpMethods, Delegate handler);
static member MapMethods : Microsoft.AspNetCore.Routing.IEndpointRouteBuilder * string * seq<string> * Delegate -> Microsoft.AspNetCore.Builder.RouteHandlerBuilder
<Extension()>
Public Function MapMethods (endpoints As IEndpointRouteBuilder, pattern As String, httpMethods As IEnumerable(Of String), handler As Delegate) As RouteHandlerBuilder

パラメーター

endpoints
IEndpointRouteBuilder

IEndpointRouteBuilderルートを追加する 。

pattern
String

ルート パターン。

httpMethods
IEnumerable<String>

エンドポイントが一致する HTTP メソッド。

handler
Delegate

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

戻り値

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

適用対象