Class ConvertCache
- Namespace
- Dynamicweb.Imaging.ImageHandling
- Assembly
- Dynamicweb.Core.dll
Provides methods and properties for caching processed images and retrieving them from the cache.
public class ConvertCache
- Inheritance
-
ConvertCache
- Inherited Members
Constructors
ConvertCache(ConvertParameters)
Initializes a new instance of an object.
public ConvertCache(ConvertParameters parameters)
Parameters
parameters
ConvertParameters
Properties
CacheFileVirtualPath
Gets the virtual path of the cached image file.
public string CacheFileVirtualPath { get; }
Property Value
Parameters
Gets the convert parameters.
public ConvertParameters? Parameters { get; }
Property Value
Methods
Get()
Retrieves the image data from the cache.
public byte[]? Get()
Returns
- byte[]
Image data of the cached image.
GetCacheFileFullPath()
Gets the full path to the cached image.
public string GetCacheFileFullPath()
Returns
Insert(byte[])
Inserts image data into the cache.
public void Insert(byte[] data)
Parameters
data
byte[]Image data.