PostSharp 6.7 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Caching.​Implementation Namespace / Cache­Invalidator Class / Cache­Invalidator Constructor

CacheInvalidator Constructor

Initializes a new CachingBackend/

Namespace:  PostSharp.Patterns.Caching.Implementation
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.7.12.0 (6.7.12.0)
Syntax
C#
protected CacheInvalidator(
	CachingBackend underlyingBackend,
	CacheInvalidatorOptions options
)

Parameters

underlyingBackend
Type: PostSharp.Patterns.Caching.Implementation.CachingBackend
The underlying CachingBackend (typically an in-memory cache).
options
Type: PostSharp.Patterns.Caching.Implementation.CacheInvalidatorOptions
Options of the new CacheInvalidator.
See Also