RedisCacheInvalidator.Create Method |
Namespace: PostSharp.Patterns.Caching.Backends.Redis
Assembly: PostSharp.Patterns.Caching.Backends.Redis (in PostSharp.Patterns.Caching.Backends.Redis.dll) Version: 2023.0.3.0 (2023.0.3.0)
public static RedisCacheInvalidator Create( CachingBackend backend, IConnectionMultiplexer connection, RedisCacheInvalidatorOptions options )
Parameters
- backend
- Type: PostSharp.Patterns.Caching.Implementation.CachingBackend
A local (typically in-memory) caching back-end. - connection
- Type: IConnectionMultiplexer
A Redis connection. - options
- Type: PostSharp.Patterns.Caching.Backends.Redis.RedisCacheInvalidatorOptions
Options.
Return Value
Type: RedisCacheInvalidatorA new RedisCacheInvalidator.