Table of Contents

Interface ICacheHash

Namespace
SixLabors.ImageSharp.Web.Caching
Assembly
SixLabors.ImageSharp.Web.dll

Defines a contract that allows the creation of hashed file names for storing cached images.

public interface ICacheHash

Methods

Create(string, uint)

Returns the hashed file name for the cached image file.

string Create(string value, uint length)

Parameters

value string

The input value to hash.

length uint

The length of the returned hash without any extensions.

Returns

string

The string.