MapExtensions.Map メソッド

定義

オーバーロード

Map(IApplicationBuilder, PathString, Action<IApplicationBuilder>)

指定された要求パスの一致に基づいて要求パイプラインを分岐します。 要求パスが指定されたパスで開始する場合、分岐が実行されます。

Map(IApplicationBuilder, String, Action<IApplicationBuilder>)

指定された要求パスの一致に基づいて要求パイプラインを分岐します。 要求パスが指定されたパスで開始する場合、分岐が実行されます。

Map(IApplicationBuilder, PathString, Boolean, Action<IApplicationBuilder>)

指定された要求パスの一致に基づいて要求パイプラインを分岐します。 要求パスが指定されたパスで開始する場合、分岐が実行されます。

Map(IApplicationBuilder, PathString, Action<IApplicationBuilder>)

指定された要求パスの一致に基づいて要求パイプラインを分岐します。 要求パスが指定されたパスで開始する場合、分岐が実行されます。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ Map(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Http::PathString pathMatch, Action<Microsoft::AspNetCore::Builder::IApplicationBuilder ^> ^ configuration);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder Map (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Http.PathString pathMatch, Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> configuration);
static member Map : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Http.PathString * Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function Map (app As IApplicationBuilder, pathMatch As PathString, configuration As Action(Of IApplicationBuilder)) As IApplicationBuilder

パラメーター

app
IApplicationBuilder

IApplicationBuilder のインスタンスです。

pathMatch
PathString

一致する要求パス。

configuration
Action<IApplicationBuilder>

正のパスの一致に使用する分岐。

戻り値

IApplicationBuilder のインスタンスです。

適用対象

Map(IApplicationBuilder, String, Action<IApplicationBuilder>)

指定された要求パスの一致に基づいて要求パイプラインを分岐します。 要求パスが指定されたパスで開始する場合、分岐が実行されます。

public static Microsoft.AspNetCore.Builder.IApplicationBuilder Map (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, string pathMatch, Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> configuration);
static member Map : Microsoft.AspNetCore.Builder.IApplicationBuilder * string * Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function Map (app As IApplicationBuilder, pathMatch As String, configuration As Action(Of IApplicationBuilder)) As IApplicationBuilder

パラメーター

app
IApplicationBuilder

IApplicationBuilder のインスタンスです。

pathMatch
String

一致する要求パス。

configuration
Action<IApplicationBuilder>

正のパスの一致に使用する分岐。

戻り値

IApplicationBuilder のインスタンスです。

適用対象

Map(IApplicationBuilder, PathString, Boolean, Action<IApplicationBuilder>)

指定された要求パスの一致に基づいて要求パイプラインを分岐します。 要求パスが指定されたパスで開始する場合、分岐が実行されます。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ Map(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Http::PathString pathMatch, bool preserveMatchedPathSegment, Action<Microsoft::AspNetCore::Builder::IApplicationBuilder ^> ^ configuration);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder Map (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Http.PathString pathMatch, bool preserveMatchedPathSegment, Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> configuration);
static member Map : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Http.PathString * bool * Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function Map (app As IApplicationBuilder, pathMatch As PathString, preserveMatchedPathSegment As Boolean, configuration As Action(Of IApplicationBuilder)) As IApplicationBuilder

パラメーター

app
IApplicationBuilder

IApplicationBuilder のインスタンスです。

pathMatch
PathString

一致する要求パス。

preserveMatchedPathSegment
Boolean

false の場合、一致したパスは Request.Path から削除され、Request.PathBase に追加されます。

configuration
Action<IApplicationBuilder>

正のパスの一致に使用する分岐。

戻り値

IApplicationBuilder のインスタンスです。

適用対象