Interface ICacheKeyHash
Implementations of this interface generate a deterministic hash from the given key.
The built-in GetHashcode is not appropriate to use, particularly in distributed scenarios,
as it is only deterministic within a single execution / process space in .Net Core and
in full framework although more reliably it is still liable to change.
Assembly: AzureFromTheTrenches.Commanding.Cache.dll
Syntax
public interface ICacheKeyHash
Methods
|
Improve this Doc
View Source
GetHash(String)
Declaration
string GetHash(string key)
Parameters
| Type |
Name |
Description |
| System.String |
key |
|
Returns
| Type |
Description |
| System.String |
|