Method CreateAsync
CreateAsync(CachingBackend, IConnectionMultiplexer, RedisCacheInvalidatorOptions, CancellationToken)
Declaration
public static Task<RedisCacheInvalidator> CreateAsync([Required] CachingBackend backend, [Required] IConnectionMultiplexer connection, [Required] RedisCacheInvalidatorOptions options, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
CachingBackend | backend | |
StackExchange.Redis.IConnectionMultiplexer | connection | |
RedisCacheInvalidatorOptions | options | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task<RedisCacheInvalidator> |