PostSharpAPI ReferencePost­Sharp.​Patterns.​Caching.​BackendsNon­Blocking­Caching­Backend­EnhancerClear­Async­Core
Open sandboxFocus

Method ClearAsyncCore

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
CachingBackendEnhancer.ClearAsyncCore(CancellationToken)