MapExtensions.Map Yöntem

Tanım

Aşırı Yüklemeler

Map(IApplicationBuilder, PathString, Action<IApplicationBuilder>)

Belirtilen istek yolunun eşleşmelerine göre istek işlem hattını dallar. İstek yolu verilen yolla başlıyorsa, dal yürütülür.

Map(IApplicationBuilder, String, Action<IApplicationBuilder>)

Belirtilen istek yolunun eşleşmelerine göre istek işlem hattını dallar. İstek yolu verilen yolla başlıyorsa, dal yürütülür.

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

Belirtilen istek yolunun eşleşmelerine göre istek işlem hattını dallar. İstek yolu verilen yolla başlıyorsa, dal yürütülür.

Map(IApplicationBuilder, PathString, Action<IApplicationBuilder>)

Belirtilen istek yolunun eşleşmelerine göre istek işlem hattını dallar. İstek yolu verilen yolla başlıyorsa, dal yürütülür.

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

Parametreler

pathMatch
PathString

Eşleşecek istek yolu.

configuration
Action<IApplicationBuilder>

Pozitif yol eşleşmeleri için alınması gereken dal.

Döndürülenler

IApplicationBuilder örneği.

Şunlara uygulanır

Map(IApplicationBuilder, String, Action<IApplicationBuilder>)

Belirtilen istek yolunun eşleşmelerine göre istek işlem hattını dallar. İstek yolu verilen yolla başlıyorsa, dal yürütülür.

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

Parametreler

pathMatch
String

Eşleşecek istek yolu.

configuration
Action<IApplicationBuilder>

Pozitif yol eşleşmeleri için alınması gereken dal.

Döndürülenler

IApplicationBuilder örneği.

Şunlara uygulanır

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

Belirtilen istek yolunun eşleşmelerine göre istek işlem hattını dallar. İstek yolu verilen yolla başlıyorsa, dal yürütülür.

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

Parametreler

pathMatch
PathString

Eşleşecek istek yolu.

preserveMatchedPathSegment
Boolean

false ise, eşleşen yol Request.Path'den kaldırılır ve Request.PathBase'e eklenir.

configuration
Action<IApplicationBuilder>

Pozitif yol eşleşmeleri için alınması gereken dal.

Döndürülenler

IApplicationBuilder örneği.

Şunlara uygulanır