Interface ICacheHash
Defines a contract that allows the creation of hashed file names for storing cached images.
Namespace: SixLabors.ImageSharp.Web.Caching
Assembly: SixLabors.ImageSharp.Web.dll
Syntax
public interface ICacheHash
Methods
| Edit this page View SourceCreate(string, uint)
Returns the hashed file name for the cached image file.
Declaration
string Create(string value, uint length)
Parameters
| Type | Name | Description |
|---|---|---|
| string | value | The input value to hash. |
| uint | length | The length of the returned hash without any extensions. |
Returns
| Type | Description |
|---|---|
| string | The string. |