ComplexKeyHashingStrategy DefaultStringKeyToCacheKey Method NFX Class Library

[This is preliminary documentation and is subject to change.]

Provides default implementation for converting string keys into uint64 hash. This functions provides the best selectivity for strings that are 8 chars long or less. The function is NOT deterministic as it uses .GetHashCode(), so the returned value should not be persisted

Namespace: NFX.DataAccess.Cache
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public static ulong DefaultStringKeyToCacheKey(
	string key
)

Return Value

Type: OnlineUInt64
See Also