EndpointRouteBuilderExtensions.Map メソッド

定義

オーバーロード

Map(IEndpointRouteBuilder, RoutePattern, RequestDelegate)

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

Map(IEndpointRouteBuilder, RoutePattern, Delegate)

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

Map(IEndpointRouteBuilder, String, RequestDelegate)

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

Map(IEndpointRouteBuilder, String, Delegate)

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

Map(IEndpointRouteBuilder, RoutePattern, RequestDelegate)

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

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IEndpointConventionBuilder ^ Map(Microsoft::AspNetCore::Routing::IEndpointRouteBuilder ^ endpoints, Microsoft::AspNetCore::Routing::Patterns::RoutePattern ^ pattern, Microsoft::AspNetCore::Http::RequestDelegate ^ requestDelegate);
public static Microsoft.AspNetCore.Builder.IEndpointConventionBuilder Map (this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, Microsoft.AspNetCore.Routing.Patterns.RoutePattern pattern, Microsoft.AspNetCore.Http.RequestDelegate requestDelegate);
static member Map : Microsoft.AspNetCore.Routing.IEndpointRouteBuilder * Microsoft.AspNetCore.Routing.Patterns.RoutePattern * Microsoft.AspNetCore.Http.RequestDelegate -> Microsoft.AspNetCore.Builder.IEndpointConventionBuilder
<Extension()>
Public Function Map (endpoints As IEndpointRouteBuilder, pattern As RoutePattern, requestDelegate As RequestDelegate) As IEndpointConventionBuilder

パラメーター

endpoints
IEndpointRouteBuilder

IEndpointRouteBuilderルートを追加する 。

pattern
RoutePattern

ルート パターン。

requestDelegate
RequestDelegate

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

戻り値

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

適用対象

Map(IEndpointRouteBuilder, RoutePattern, Delegate)

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

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

パラメーター

endpoints
IEndpointRouteBuilder

IEndpointRouteBuilderルートを追加する 。

pattern
RoutePattern

ルート パターン。

handler
Delegate

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

戻り値

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

適用対象

Map(IEndpointRouteBuilder, String, RequestDelegate)

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

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

パラメーター

endpoints
IEndpointRouteBuilder

IEndpointRouteBuilderルートを追加する 。

pattern
String

ルート パターン。

requestDelegate
RequestDelegate

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

戻り値

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

適用対象

Map(IEndpointRouteBuilder, String, Delegate)

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

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

パラメーター

endpoints
IEndpointRouteBuilder

IEndpointRouteBuilderルートを追加する 。

pattern
String

ルート パターン。

handler
Delegate

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

戻り値

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

適用対象