ApacheModRewriteOptionsExtensions.AddApacheModRewrite Метод

Определение

Перегрузки

AddApacheModRewrite(RewriteOptions, TextReader)

Добавление правил из файла mod_rewrite Apache

AddApacheModRewrite(RewriteOptions, IFileProvider, String)

Добавление правил из файла mod_rewrite Apache

AddApacheModRewrite(RewriteOptions, TextReader)

Исходный код:
ApacheModRewriteOptionsExtensions.cs
Исходный код:
ApacheModRewriteOptionsExtensions.cs
Исходный код:
ApacheModRewriteOptionsExtensions.cs

Добавление правил из файла mod_rewrite Apache

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

Параметры

options
RewriteOptions

Конструктор RewriteOptions

reader
TextReader

Поток правил mod_rewrite.

Возвращаемое значение

Применяется к

AddApacheModRewrite(RewriteOptions, IFileProvider, String)

Исходный код:
ApacheModRewriteOptionsExtensions.cs
Исходный код:
ApacheModRewriteOptionsExtensions.cs
Исходный код:
ApacheModRewriteOptionsExtensions.cs

Добавление правил из файла mod_rewrite Apache

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

Параметры

options
RewriteOptions

Конструктор RewriteOptions

fileProvider
IFileProvider

Конструктор IFileProvider

filePath
String

Путь к файлу, содержа mod_rewrite правилам.

Возвращаемое значение

Применяется к