Show / Hide Table of Contents

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.

Namespace: AzureFromTheTrenches.Commanding.Cache
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
  • Improve this Doc
  • View Source
  • 0 Comments
Back to top Copyright © 2018 James Randall