Bagikan melalui


RewriteMiddleware Konstruktor

Definisi

Overload

RewriteMiddleware(RequestDelegate, IHostingEnvironment, ILoggerFactory, RewriteOptions)

Membuat instans baru RewriteMiddleware

RewriteMiddleware(RequestDelegate, IHostingEnvironment, ILoggerFactory, IOptions<RewriteOptions>)

Membuat instans baru RewriteMiddleware

RewriteMiddleware(RequestDelegate, IWebHostEnvironment, ILoggerFactory, IOptions<RewriteOptions>)

Membuat instans baru RewriteMiddleware

RewriteMiddleware(RequestDelegate, IHostingEnvironment, ILoggerFactory, RewriteOptions)

Membuat instans baru RewriteMiddleware

public:
 RewriteMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::AspNetCore::Hosting::IHostingEnvironment ^ hostingEnvironment, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, Microsoft::AspNetCore::Rewrite::RewriteOptions ^ options);
public RewriteMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Hosting.IHostingEnvironment hostingEnvironment, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Rewrite.RewriteOptions options);
new Microsoft.AspNetCore.Rewrite.RewriteMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.AspNetCore.Hosting.IHostingEnvironment * Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.AspNetCore.Rewrite.RewriteOptions -> Microsoft.AspNetCore.Rewrite.RewriteMiddleware
Public Sub New (next As RequestDelegate, hostingEnvironment As IHostingEnvironment, loggerFactory As ILoggerFactory, options As RewriteOptions)

Parameter

next
RequestDelegate

Delegasi yang mewakili middleware berikutnya dalam alur permintaan.

hostingEnvironment
IHostingEnvironment

Lingkungan Hosting.

loggerFactory
ILoggerFactory

Pabrik Pencatat.

options
RewriteOptions

Opsi middleware, berisi aturan yang akan diterapkan.

Berlaku untuk

RewriteMiddleware(RequestDelegate, IHostingEnvironment, ILoggerFactory, IOptions<RewriteOptions>)

Sumber:
RewriteMiddleware.cs
Sumber:
RewriteMiddleware.cs

Membuat instans baru RewriteMiddleware

public:
 RewriteMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::AspNetCore::Hosting::IHostingEnvironment ^ hostingEnvironment, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Rewrite::RewriteOptions ^> ^ options);
public RewriteMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Hosting.IHostingEnvironment hostingEnvironment, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Rewrite.RewriteOptions> options);
new Microsoft.AspNetCore.Rewrite.RewriteMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.AspNetCore.Hosting.IHostingEnvironment * Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Rewrite.RewriteOptions> -> Microsoft.AspNetCore.Rewrite.RewriteMiddleware
Public Sub New (next As RequestDelegate, hostingEnvironment As IHostingEnvironment, loggerFactory As ILoggerFactory, options As IOptions(Of RewriteOptions))

Parameter

next
RequestDelegate

Delegasi yang mewakili middleware berikutnya dalam alur permintaan.

hostingEnvironment
IHostingEnvironment

Lingkungan Hosting.

loggerFactory
ILoggerFactory

Pabrik Pencatat.

options
IOptions<RewriteOptions>

Opsi middleware, berisi aturan yang akan diterapkan.

Berlaku untuk

RewriteMiddleware(RequestDelegate, IWebHostEnvironment, ILoggerFactory, IOptions<RewriteOptions>)

Sumber:
RewriteMiddleware.cs

Membuat instans baru RewriteMiddleware

public:
 RewriteMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::AspNetCore::Hosting::IWebHostEnvironment ^ hostingEnvironment, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Rewrite::RewriteOptions ^> ^ options);
public RewriteMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.Hosting.IWebHostEnvironment hostingEnvironment, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Rewrite.RewriteOptions> options);
new Microsoft.AspNetCore.Rewrite.RewriteMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.AspNetCore.Hosting.IWebHostEnvironment * Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Rewrite.RewriteOptions> -> Microsoft.AspNetCore.Rewrite.RewriteMiddleware
Public Sub New (next As RequestDelegate, hostingEnvironment As IWebHostEnvironment, loggerFactory As ILoggerFactory, options As IOptions(Of RewriteOptions))

Parameter

next
RequestDelegate

Delegasi yang mewakili middleware berikutnya dalam alur permintaan.

hostingEnvironment
IWebHostEnvironment

Lingkungan Hosting.

loggerFactory
ILoggerFactory

Pabrik Pencatat.

options
IOptions<RewriteOptions>

Opsi middleware, berisi aturan yang akan diterapkan.

Berlaku untuk