PostSharpAPI ReferencePost­Sharp.​Patterns.​Caching.​Backends.​RedisRedis­Caching­BackendClear­Async­Core
Open sandboxFocus

RedisCachingBackend.ClearAsyncCore Method

ClearAsyncCore(CancellationToken)

Asynchronously clears the cache. This protected method is part of the implementation API and is meant to be overridden in user code, not invoked.

Declaration
protected override Task ClearAsyncCore(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken

A CancellationToken.

Returns
Type Description
Task

A Task.

Overrides
CachingBackend.ClearAsyncCore(CancellationToken)