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
| Improve this Doc View SourceCreate(String, UInt32)
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. |
| UInt32 | length | The length of the returned hash without any extensions. |
Returns
| Type | Description |
|---|---|
| String | The String. |