MapExtensions.Map Método

Definição

Sobrecargas

Map(IApplicationBuilder, PathString, Action<IApplicationBuilder>)

Ramifica o pipeline de solicitação com base nas correspondências do caminho de solicitação fornecido. Se o caminho da solicitação iniciar com o caminho especificado, o branch será executado.

Map(IApplicationBuilder, String, Action<IApplicationBuilder>)

Ramifica o pipeline de solicitação com base nas correspondências do caminho de solicitação fornecido. Se o caminho da solicitação iniciar com o caminho especificado, o branch será executado.

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

Ramifica o pipeline de solicitação com base nas correspondências do caminho de solicitação fornecido. Se o caminho da solicitação iniciar com o caminho especificado, o branch será executado.

Map(IApplicationBuilder, PathString, Action<IApplicationBuilder>)

Ramifica o pipeline de solicitação com base nas correspondências do caminho de solicitação fornecido. Se o caminho da solicitação iniciar com o caminho especificado, o branch será executado.

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

Parâmetros

pathMatch
PathString

O caminho da solicitação a ser correspondido.

configuration
Action<IApplicationBuilder>

O branch a ser usado para correspondências de caminho positivas.

Retornos

A instância IApplicationBuilder.

Aplica-se a

Map(IApplicationBuilder, String, Action<IApplicationBuilder>)

Ramifica o pipeline de solicitação com base nas correspondências do caminho de solicitação fornecido. Se o caminho da solicitação iniciar com o caminho especificado, o branch será executado.

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

Parâmetros

pathMatch
String

O caminho da solicitação a ser correspondido.

configuration
Action<IApplicationBuilder>

O branch a ser usado para correspondências de caminho positivas.

Retornos

A instância IApplicationBuilder.

Aplica-se a

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

Ramifica o pipeline de solicitação com base nas correspondências do caminho de solicitação fornecido. Se o caminho da solicitação iniciar com o caminho especificado, o branch será executado.

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

Parâmetros

pathMatch
PathString

O caminho da solicitação a ser correspondido.

preserveMatchedPathSegment
Boolean

se false, o caminho correspondente seria removido de Request.Path e adicionado a Request.PathBase.

configuration
Action<IApplicationBuilder>

O branch a ser usado para correspondências de caminho positivas.

Retornos

A instância IApplicationBuilder.

Aplica-se a