ResponseCachingMiddleware Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
ResponseCachingMiddleware(RequestDelegate, IOptions<ResponseCachingOptions>, ILoggerFactory, ObjectPoolProvider)
- Source:
- ResponseCachingMiddleware.cs
Crée un 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)
Paramètres
- next
- RequestDelegate
RequestDelegate représentant l’intergiciel suivant dans le pipeline.
- options
- IOptions<ResponseCachingOptions>
Options de ce middleware.
- loggerFactory
- ILoggerFactory
utilisé pour la ILoggerFactory journalisation.
- poolProvider
- ObjectPoolProvider
ObjectPoolProvider utilisé pour créer des ObjectPool instances.
S’applique à
ResponseCachingMiddleware(RequestDelegate, IOptions<ResponseCachingOptions>, ILoggerFactory, IResponseCachingPolicyProvider, IResponseCachingKeyProvider)
- Source:
- ResponseCachingMiddleware.cs
- Source:
- 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)
Paramètres
- next
- RequestDelegate
- options
- IOptions<ResponseCachingOptions>
- loggerFactory
- ILoggerFactory
- policyProvider
- Microsoft.AspNetCore.ResponseCaching.Internal.IResponseCachingPolicyProvider
- keyProvider
- Microsoft.AspNetCore.ResponseCaching.Internal.IResponseCachingKeyProvider
S’applique à
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)
Paramètres
- next
- RequestDelegate
- options
- IOptions<ResponseCachingOptions>
- loggerFactory
- ILoggerFactory
- policyProvider
- Microsoft.AspNetCore.ResponseCaching.Internal.IResponseCachingPolicyProvider
- cache
- Microsoft.AspNetCore.ResponseCaching.Internal.IResponseCache
- keyProvider
- Microsoft.AspNetCore.ResponseCaching.Internal.IResponseCachingKeyProvider