MapExtensions.Map Méthode

Définition

Surcharges

Map(IApplicationBuilder, PathString, Action<IApplicationBuilder>)

Branche le pipeline de requêtes en fonction des correspondances du chemin de requête donné. Si le chemin de requête commence par le chemin donné, la branche est exécutée.

Map(IApplicationBuilder, String, Action<IApplicationBuilder>)

Branche le pipeline de requêtes en fonction des correspondances du chemin de requête donné. Si le chemin de requête commence par le chemin donné, la branche est exécutée.

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

Branche le pipeline de requêtes en fonction des correspondances du chemin de requête donné. Si le chemin de requête commence par le chemin donné, la branche est exécutée.

Map(IApplicationBuilder, PathString, Action<IApplicationBuilder>)

Branche le pipeline de requêtes en fonction des correspondances du chemin de requête donné. Si le chemin de requête commence par le chemin donné, la branche est exécutée.

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

Paramètres

pathMatch
PathString

Chemin d’accès de la requête à mettre en correspondance.

configuration
Action<IApplicationBuilder>

La branche à prendre pour le chemin positif correspond.

Retours

Instance IApplicationBuilder.

S’applique à

Map(IApplicationBuilder, String, Action<IApplicationBuilder>)

Branche le pipeline de requêtes en fonction des correspondances du chemin de requête donné. Si le chemin de requête commence par le chemin donné, la branche est exécutée.

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

Paramètres

pathMatch
String

Chemin d’accès de la requête à mettre en correspondance.

configuration
Action<IApplicationBuilder>

La branche à prendre pour le chemin positif correspond.

Retours

Instance IApplicationBuilder.

S’applique à

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

Branche le pipeline de requêtes en fonction des correspondances du chemin de requête donné. Si le chemin de requête commence par le chemin donné, la branche est exécutée.

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

Paramètres

pathMatch
PathString

Chemin d’accès de la requête à mettre en correspondance.

preserveMatchedPathSegment
Boolean

si la valeur est false, le chemin correspondant est supprimé de Request.Path et ajouté à Request.PathBase.

configuration
Action<IApplicationBuilder>

La branche à prendre pour le chemin positif correspond.

Retours

Instance IApplicationBuilder.

S’applique à