CKFinder 3 – ASP.NET Connector Documentation
IImageMetadataCacheRepository Interface Reference

An image metadata cache repository. More...

Public Member Functions

Task< IImageMetadataCacheGetAndLockAsync (IFile file, CancellationToken cancellationToken)
 Asynchronously gets and locks image metadata cache for given file. More...
 

Detailed Description

An image metadata cache repository.

Member Function Documentation

◆ GetAndLockAsync()

Task<IImageMetadataCache> GetAndLockAsync ( IFile  file,
CancellationToken  cancellationToken 
)

Asynchronously gets and locks image metadata cache for given file.

A cache is locked until IImageMetadataCache is disposed.

Parameters
fileAn image file.
cancellationTokenA cancellation token.
Returns
An IImageMetadataCache instance.

The documentation for this interface was generated from the following file: