Sdílet prostřednictvím


RewriteBuilderExtensions.UseRewriter Metoda

Definice

Přetížení

UseRewriter(IApplicationBuilder)

Zkontroluje, jestli daná adresa URL odpovídá pravidlům a podmínkám, a upraví shodu HttpContextu.

UseRewriter(IApplicationBuilder, RewriteOptions)

Zkontroluje, jestli daná adresa URL odpovídá pravidlům a podmínkám, a upraví shodu HttpContextu.

UseRewriter(IApplicationBuilder)

Zdroj:
RewriteBuilderExtensions.cs
Zdroj:
RewriteBuilderExtensions.cs
Zdroj:
RewriteBuilderExtensions.cs

Zkontroluje, jestli daná adresa URL odpovídá pravidlům a podmínkám, a upraví shodu HttpContextu.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseRewriter(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseRewriter (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member UseRewriter : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseRewriter (app As IApplicationBuilder) As IApplicationBuilder

Parametry

app
IApplicationBuilder

Parametr IApplicationBuilder nahraďte názvem sestavy.

Návraty

Platí pro

UseRewriter(IApplicationBuilder, RewriteOptions)

Zdroj:
RewriteBuilderExtensions.cs
Zdroj:
RewriteBuilderExtensions.cs
Zdroj:
RewriteBuilderExtensions.cs

Zkontroluje, jestli daná adresa URL odpovídá pravidlům a podmínkám, a upraví shodu HttpContextu.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseRewriter(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Rewrite::RewriteOptions ^ options);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseRewriter (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Rewrite.RewriteOptions options);
static member UseRewriter : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Rewrite.RewriteOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseRewriter (app As IApplicationBuilder, options As RewriteOptions) As IApplicationBuilder

Parametry

app
IApplicationBuilder

Parametr IApplicationBuilder nahraďte názvem sestavy.

options
RewriteOptions

Možnosti přepsání

Návraty

Platí pro