PostSharpAPI ReferencePost­Sharp.​Patterns.​Caching.​ImplementationCaching­BackendClear­Async
Open sandboxFocus

CachingBackend.ClearAsync Method

ClearAsync(CancellationToken)

Asynchronously clears the cache.

Declaration
public Task ClearAsync(CancellationToken cancellationToken = null)
Parameters
Type Name Description
System.Threading.CancellationToken cancellationToken

A System.Threading.CancellationToken.

Returns
Type Description
System.Threading.Tasks.Task

A System.Threading.Tasks.Task.