Freigeben über


ResponseCachingMiddleware Konstruktoren

Definition

Überlädt

ResponseCachingMiddleware(RequestDelegate, IOptions<ResponseCachingOptions>, ILoggerFactory, ObjectPoolProvider)

Erstellt einen neuen ResponseCachingMiddleware.

ResponseCachingMiddleware(RequestDelegate, IOptions<ResponseCachingOptions>, ILoggerFactory, IResponseCachingPolicyProvider, IResponseCachingKeyProvider)
ResponseCachingMiddleware(RequestDelegate, IOptions<ResponseCachingOptions>, ILoggerFactory, IResponseCachingPolicyProvider, IResponseCache, IResponseCachingKeyProvider)

ResponseCachingMiddleware(RequestDelegate, IOptions<ResponseCachingOptions>, ILoggerFactory, ObjectPoolProvider)

Quelle:
ResponseCachingMiddleware.cs

Erstellt einen neuen ResponseCachingMiddleware.

public:
 ResponseCachingMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::ResponseCaching::ResponseCachingOptions ^> ^ options, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, Microsoft::Extensions::ObjectPool::ObjectPoolProvider ^ poolProvider);
public ResponseCachingMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.ResponseCaching.ResponseCachingOptions> options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.Extensions.ObjectPool.ObjectPoolProvider poolProvider);
new Microsoft.AspNetCore.ResponseCaching.ResponseCachingMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.ResponseCaching.ResponseCachingOptions> * Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.Extensions.ObjectPool.ObjectPoolProvider -> Microsoft.AspNetCore.ResponseCaching.ResponseCachingMiddleware
Public Sub New (next As RequestDelegate, options As IOptions(Of ResponseCachingOptions), loggerFactory As ILoggerFactory, poolProvider As ObjectPoolProvider)

Parameter

next
RequestDelegate

Die , RequestDelegate die die nächste Middleware in der Pipeline darstellt.

options
IOptions<ResponseCachingOptions>

Die Optionen für diese Middleware.

loggerFactory
ILoggerFactory

Die für die ILoggerFactory Protokollierung verwendete.

poolProvider
ObjectPoolProvider

Der , der ObjectPoolProvider zum Erstellen von ObjectPool Instanzen verwendet wird.

Gilt für:

ResponseCachingMiddleware(RequestDelegate, IOptions<ResponseCachingOptions>, ILoggerFactory, IResponseCachingPolicyProvider, IResponseCachingKeyProvider)

Quelle:
ResponseCachingMiddleware.cs
Quelle:
ResponseCachingMiddleware.cs
public:
 ResponseCachingMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::ResponseCaching::ResponseCachingOptions ^> ^ options, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, Microsoft::AspNetCore::ResponseCaching::Internal::IResponseCachingPolicyProvider ^ policyProvider, Microsoft::AspNetCore::ResponseCaching::Internal::IResponseCachingKeyProvider ^ keyProvider);
public ResponseCachingMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.ResponseCaching.ResponseCachingOptions> options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.ResponseCaching.Internal.IResponseCachingPolicyProvider policyProvider, Microsoft.AspNetCore.ResponseCaching.Internal.IResponseCachingKeyProvider keyProvider);
new Microsoft.AspNetCore.ResponseCaching.ResponseCachingMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.ResponseCaching.ResponseCachingOptions> * Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.AspNetCore.ResponseCaching.Internal.IResponseCachingPolicyProvider * Microsoft.AspNetCore.ResponseCaching.Internal.IResponseCachingKeyProvider -> Microsoft.AspNetCore.ResponseCaching.ResponseCachingMiddleware
Public Sub New (next As RequestDelegate, options As IOptions(Of ResponseCachingOptions), loggerFactory As ILoggerFactory, policyProvider As IResponseCachingPolicyProvider, keyProvider As IResponseCachingKeyProvider)

Parameter

loggerFactory
ILoggerFactory
policyProvider
Microsoft.AspNetCore.ResponseCaching.Internal.IResponseCachingPolicyProvider
keyProvider
Microsoft.AspNetCore.ResponseCaching.Internal.IResponseCachingKeyProvider

Gilt für:

ResponseCachingMiddleware(RequestDelegate, IOptions<ResponseCachingOptions>, ILoggerFactory, IResponseCachingPolicyProvider, IResponseCache, IResponseCachingKeyProvider)

public:
 ResponseCachingMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::ResponseCaching::ResponseCachingOptions ^> ^ options, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, Microsoft::AspNetCore::ResponseCaching::Internal::IResponseCachingPolicyProvider ^ policyProvider, Microsoft::AspNetCore::ResponseCaching::Internal::IResponseCache ^ cache, Microsoft::AspNetCore::ResponseCaching::Internal::IResponseCachingKeyProvider ^ keyProvider);
public ResponseCachingMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.ResponseCaching.ResponseCachingOptions> options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.ResponseCaching.Internal.IResponseCachingPolicyProvider policyProvider, Microsoft.AspNetCore.ResponseCaching.Internal.IResponseCache cache, Microsoft.AspNetCore.ResponseCaching.Internal.IResponseCachingKeyProvider keyProvider);
new Microsoft.AspNetCore.ResponseCaching.ResponseCachingMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.ResponseCaching.ResponseCachingOptions> * Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.AspNetCore.ResponseCaching.Internal.IResponseCachingPolicyProvider * Microsoft.AspNetCore.ResponseCaching.Internal.IResponseCache * Microsoft.AspNetCore.ResponseCaching.Internal.IResponseCachingKeyProvider -> Microsoft.AspNetCore.ResponseCaching.ResponseCachingMiddleware
Public Sub New (next As RequestDelegate, options As IOptions(Of ResponseCachingOptions), loggerFactory As ILoggerFactory, policyProvider As IResponseCachingPolicyProvider, cache As IResponseCache, keyProvider As IResponseCachingKeyProvider)

Parameter

loggerFactory
ILoggerFactory
policyProvider
Microsoft.AspNetCore.ResponseCaching.Internal.IResponseCachingPolicyProvider
cache
Microsoft.AspNetCore.ResponseCaching.Internal.IResponseCache
keyProvider
Microsoft.AspNetCore.ResponseCaching.Internal.IResponseCachingKeyProvider

Gilt für: