RewriteMiddleware Constructores
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
RewriteMiddleware(RequestDelegate, IHostingEnvironment, ILoggerFactory, RewriteOptions)
Crea una instancia de 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)
Parámetros
- next
- RequestDelegate
Delegado que representa el siguiente middleware en la canalización de solicitudes.
- hostingEnvironment
- IHostingEnvironment
Entorno de hospedaje.
- loggerFactory
- ILoggerFactory
La fábrica de registradores.
- options
- RewriteOptions
Las opciones de middleware que contienen las reglas que se van a aplicar.
Se aplica a
RewriteMiddleware(RequestDelegate, IHostingEnvironment, ILoggerFactory, IOptions<RewriteOptions>)
- Source:
- RewriteMiddleware.cs
- Source:
- RewriteMiddleware.cs
Crea una instancia de 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))
Parámetros
- next
- RequestDelegate
Delegado que representa el siguiente middleware en la canalización de solicitudes.
- hostingEnvironment
- IHostingEnvironment
Entorno de hospedaje.
- loggerFactory
- ILoggerFactory
La fábrica de registradores.
- options
- IOptions<RewriteOptions>
Las opciones de middleware que contienen las reglas que se van a aplicar.
Se aplica a
RewriteMiddleware(RequestDelegate, IWebHostEnvironment, ILoggerFactory, IOptions<RewriteOptions>)
- Source:
- RewriteMiddleware.cs
Crea una instancia de 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))
Parámetros
- next
- RequestDelegate
Delegado que representa el siguiente middleware en la canalización de solicitudes.
- hostingEnvironment
- IWebHostEnvironment
Entorno de hospedaje.
- loggerFactory
- ILoggerFactory
La fábrica de registradores.
- options
- IOptions<RewriteOptions>
Las opciones de middleware que contienen las reglas que se van a aplicar.