PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​Caching.​Backends.​RedisRedis­Cache­InvalidatorCreate
Open sandboxFocus

RedisCacheInvalidator.Create Method

Create(CachingBackend, IConnectionMultiplexer, RedisCacheInvalidatorOptions)

Creates a new RedisCacheInvalidator.

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

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

StackExchange.Redis.IConnectionMultiplexer connection

A Redis connection.

RedisCacheInvalidatorOptions options

Options.

Returns
Type Description
RedisCacheInvalidator

A new RedisCacheInvalidator.