Interface ICacheKey
- Namespace
- SixLabors.ImageSharp.Web.Caching
- Assembly
- SixLabors.ImageSharp.Web.dll
Defines a contract that allows the creation of cache keys (used by ICacheHash to create hashed file names for storing cached images).
public interface ICacheKey
Methods
Create(HttpContext, CommandCollection)
Creates the cache key based on the specified context and commands.
string Create(HttpContext context, CommandCollection commands)
Parameters
contextHttpContextThe HTTP context.
commandsCommandCollectionThe commands.
Returns
- string
The cache key.