Table of Contents

Interface IImageCacheResolver

Namespace
SixLabors.ImageSharp.Web.Resolvers
Assembly
SixLabors.ImageSharp.Web.dll

Specifies the contract for resolving image buffers from different cached locations.

public interface IImageCacheResolver

Methods

GetMetaDataAsync()

Asynchronously gets metadata associated with this image.

Task<ImageCacheMetadata> GetMetaDataAsync()

Returns

Task<ImageCacheMetadata>

The ImageCacheMetadata.

OpenReadAsync()

Asynchronously gets the input image stream.

Task<Stream> OpenReadAsync()

Returns

Task<Stream>

The Task<TResult>.