PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​Caching.​ImplementationCaching­BackendClear­Async­Core
Open sandboxFocus

CachingBackend.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 virtual Task ClearAsyncCore(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken

A CancellationToken.

Returns
Type Description
System.Threading.Tasks.Task

A System.Threading.Tasks.Task.