Bagikan melalui


MapExtensions.Map Metode

Definisi

Overload

Map(IApplicationBuilder, PathString, Action<IApplicationBuilder>)

Mencabangkan alur permintaan berdasarkan kecocokan jalur permintaan yang diberikan. Jika jalur permintaan dimulai dengan jalur yang diberikan, cabang akan dijalankan.

Map(IApplicationBuilder, String, Action<IApplicationBuilder>)

Mencabangkan alur permintaan berdasarkan kecocokan jalur permintaan yang diberikan. Jika jalur permintaan dimulai dengan jalur yang diberikan, cabang akan dijalankan.

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

Mencabangkan alur permintaan berdasarkan kecocokan jalur permintaan yang diberikan. Jika jalur permintaan dimulai dengan jalur yang diberikan, cabang akan dijalankan.

Map(IApplicationBuilder, PathString, Action<IApplicationBuilder>)

Sumber:
MapExtensions.cs
Sumber:
MapExtensions.cs
Sumber:
MapExtensions.cs

Mencabangkan alur permintaan berdasarkan kecocokan jalur permintaan yang diberikan. Jika jalur permintaan dimulai dengan jalur yang diberikan, cabang akan dijalankan.

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

Parameter

pathMatch
PathString

Jalur permintaan untuk dicocokkan.

configuration
Action<IApplicationBuilder>

Cabang yang akan diambil untuk kecocokan jalur positif.

Mengembalikan

Instans IApplicationBuilder.

Berlaku untuk

Map(IApplicationBuilder, String, Action<IApplicationBuilder>)

Sumber:
MapExtensions.cs

Mencabangkan alur permintaan berdasarkan kecocokan jalur permintaan yang diberikan. Jika jalur permintaan dimulai dengan jalur yang diberikan, cabang akan dijalankan.

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

Parameter

pathMatch
String

Jalur permintaan untuk dicocokkan.

configuration
Action<IApplicationBuilder>

Cabang yang akan diambil untuk kecocokan jalur positif.

Mengembalikan

Instans IApplicationBuilder.

Berlaku untuk

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

Sumber:
MapExtensions.cs

Mencabangkan alur permintaan berdasarkan kecocokan jalur permintaan yang diberikan. Jika jalur permintaan dimulai dengan jalur yang diberikan, cabang akan dijalankan.

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

Parameter

pathMatch
PathString

Jalur permintaan untuk dicocokkan.

preserveMatchedPathSegment
Boolean

jika false, jalur yang cocok akan dihapus dari Request.Path dan ditambahkan ke Request.PathBase.

configuration
Action<IApplicationBuilder>

Cabang yang akan diambil untuk kecocokan jalur positif.

Mengembalikan

Instans IApplicationBuilder.

Berlaku untuk