RewriteMiddleware Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
RewriteMiddleware(RequestDelegate, IHostingEnvironment, ILoggerFactory, RewriteOptions) |
Erstellt eine neue Instanz von RewriteMiddleware. |
RewriteMiddleware(RequestDelegate, IHostingEnvironment, ILoggerFactory, IOptions<RewriteOptions>) |
Erstellt eine neue Instanz von RewriteMiddleware. |
RewriteMiddleware(RequestDelegate, IWebHostEnvironment, ILoggerFactory, IOptions<RewriteOptions>) |
Erstellt eine neue Instanz von RewriteMiddleware. |
RewriteMiddleware(RequestDelegate, IHostingEnvironment, ILoggerFactory, RewriteOptions)
Erstellt eine neue Instanz von 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
Der Delegat, der die nächste Middleware in der Anforderungspipeline darstellt.
- hostingEnvironment
- IHostingEnvironment
Die Hostingumgebung.
- loggerFactory
- ILoggerFactory
Die Protokollierungsfabrik.
- options
- RewriteOptions
Die Middlewareoptionen, die die anzuwendenden Regeln enthalten.
Gilt für:
RewriteMiddleware(RequestDelegate, IHostingEnvironment, ILoggerFactory, IOptions<RewriteOptions>)
- Quelle:
- RewriteMiddleware.cs
- Quelle:
- RewriteMiddleware.cs
Erstellt eine neue Instanz von 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
Der Delegat, der die nächste Middleware in der Anforderungspipeline darstellt.
- hostingEnvironment
- IHostingEnvironment
Die Hostingumgebung.
- loggerFactory
- ILoggerFactory
Die Protokollierungsfabrik.
- options
- IOptions<RewriteOptions>
Die Middlewareoptionen, die die anzuwendenden Regeln enthalten.
Gilt für:
RewriteMiddleware(RequestDelegate, IWebHostEnvironment, ILoggerFactory, IOptions<RewriteOptions>)
- Quelle:
- RewriteMiddleware.cs
Erstellt eine neue Instanz von 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
Der Delegat, der die nächste Middleware in der Anforderungspipeline darstellt.
- hostingEnvironment
- IWebHostEnvironment
Die Hostingumgebung.
- loggerFactory
- ILoggerFactory
Die Protokollierungsfabrik.
- options
- IOptions<RewriteOptions>
Die Middlewareoptionen, die die anzuwendenden Regeln enthalten.