An image metadata cache repository. More...
Public Member Functions | |
Task< IImageMetadataCache > | GetAndLockAsync (IFile file, CancellationToken cancellationToken) |
Asynchronously gets and locks image metadata cache for given file. More... | |
An image metadata cache repository.
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.
file | An image file. |
cancellationToken | A cancellation token. |