Class PhysicalFileSystemCacheResolver
- Namespace
- SixLabors.ImageSharp.Web.Resolvers
- Assembly
- SixLabors.ImageSharp.Web.dll
Provides means to manage image buffers within the PhysicalFileSystemCache.
public class PhysicalFileSystemCacheResolver : IImageCacheResolver
- Inheritance
-
PhysicalFileSystemCacheResolver
- Implements
- Inherited Members
Constructors
PhysicalFileSystemCacheResolver(FileInfo, FormatUtilities)
Initializes a new instance of the PhysicalFileSystemCacheResolver class.
public PhysicalFileSystemCacheResolver(FileInfo metaFileInfo, FormatUtilities formatUtilities)
Parameters
metaFileInfoFileInfoThe cached metadata file info.
formatUtilitiesFormatUtilitiesContains various format helper methods based on the current configuration.
Methods
GetMetaDataAsync()
Asynchronously gets metadata associated with this image.
public Task<ImageCacheMetadata> GetMetaDataAsync()
Returns
OpenReadAsync()
Asynchronously gets the input image stream.
public Task<Stream> OpenReadAsync()
Returns
- Task<Stream>
The Task<TResult>.