次の方法で共有


ResponseCachingMiddleware コンストラクター

定義

オーバーロード

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

新しい ResponseCachingMiddleware を作成します。

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

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

ソース:
ResponseCachingMiddleware.cs

新しい 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)

パラメーター

next
RequestDelegate

RequestDelegateパイプライン内の次のミドルウェアを表す 。

options
IOptions<ResponseCachingOptions>

このミドルウェアのオプション。

loggerFactory
ILoggerFactory

ILoggerFactoryログ記録に使用される 。

poolProvider
ObjectPoolProvider

ObjectPoolProviderインスタンスの作成にObjectPool使用される 。

適用対象

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

ソース:
ResponseCachingMiddleware.cs
ソース:
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)

パラメーター

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

適用対象

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)

パラメーター

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

適用対象