Compartilhar via


ApacheModRewriteOptionsExtensions.AddApacheModRewrite Método

Definição

Sobrecargas

AddApacheModRewrite(RewriteOptions, TextReader)

Adicionar regras de um arquivo do Apache mod_rewrite

AddApacheModRewrite(RewriteOptions, IFileProvider, String)

Adicionar regras de um arquivo do Apache mod_rewrite

AddApacheModRewrite(RewriteOptions, TextReader)

Origem:
ApacheModRewriteOptionsExtensions.cs
Origem:
ApacheModRewriteOptionsExtensions.cs
Origem:
ApacheModRewriteOptionsExtensions.cs

Adicionar regras de um arquivo do Apache mod_rewrite

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Rewrite::RewriteOptions ^ AddApacheModRewrite(Microsoft::AspNetCore::Rewrite::RewriteOptions ^ options, System::IO::TextReader ^ reader);
public static Microsoft.AspNetCore.Rewrite.RewriteOptions AddApacheModRewrite (this Microsoft.AspNetCore.Rewrite.RewriteOptions options, System.IO.TextReader reader);
static member AddApacheModRewrite : Microsoft.AspNetCore.Rewrite.RewriteOptions * System.IO.TextReader -> Microsoft.AspNetCore.Rewrite.RewriteOptions
<Extension()>
Public Function AddApacheModRewrite (options As RewriteOptions, reader As TextReader) As RewriteOptions

Parâmetros

reader
TextReader

Um fluxo de regras de mod_rewrite.

Retornos

Aplica-se a

AddApacheModRewrite(RewriteOptions, IFileProvider, String)

Origem:
ApacheModRewriteOptionsExtensions.cs
Origem:
ApacheModRewriteOptionsExtensions.cs
Origem:
ApacheModRewriteOptionsExtensions.cs

Adicionar regras de um arquivo do Apache mod_rewrite

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Rewrite::RewriteOptions ^ AddApacheModRewrite(Microsoft::AspNetCore::Rewrite::RewriteOptions ^ options, Microsoft::Extensions::FileProviders::IFileProvider ^ fileProvider, System::String ^ filePath);
public static Microsoft.AspNetCore.Rewrite.RewriteOptions AddApacheModRewrite (this Microsoft.AspNetCore.Rewrite.RewriteOptions options, Microsoft.Extensions.FileProviders.IFileProvider fileProvider, string filePath);
static member AddApacheModRewrite : Microsoft.AspNetCore.Rewrite.RewriteOptions * Microsoft.Extensions.FileProviders.IFileProvider * string -> Microsoft.AspNetCore.Rewrite.RewriteOptions
<Extension()>
Public Function AddApacheModRewrite (options As RewriteOptions, fileProvider As IFileProvider, filePath As String) As RewriteOptions

Parâmetros

fileProvider
IFileProvider

O IFileProvider

filePath
String

O caminho para o arquivo que contém mod_rewrite regras.

Retornos

Aplica-se a