Open sandboxFocus

Method Create

Create(CachingBackend, IConnectionMultiplexer, RedisCacheInvalidatorOptions)

Creates a new RedisCacheInvalidator.

Declaration
public static RedisCacheInvalidator Create(CachingBackend backend, IConnectionMultiplexer connection, RedisCacheInvalidatorOptions options)
Parameters
Type Name Description
CachingBackend backend

A local (typically in-memory) caching back-end.

IConnectionMultiplexer connection

A Redis connection.

RedisCacheInvalidatorOptions options

Options.

Returns
Type Description
RedisCacheInvalidator

A new RedisCacheInvalidator.