PostSharpAPI ReferencePost­Sharp.​Patterns.​Caching.​ImplementationCache­InvalidatorCache­Invalidator
Open sandboxFocus

CacheInvalidator Constructor

CacheInvalidator(CachingBackend, CacheInvalidatorOptions)

Initializes a new CachingBackend/

Declaration
protected CacheInvalidator([Required] CachingBackend underlyingBackend, [Required] CacheInvalidatorOptions options)
Parameters
Type Name Description
CachingBackend underlyingBackend

The underlying CachingBackend (typically an in-memory cache).

CacheInvalidatorOptions options

Options of the new CacheInvalidator.