Click or drag to resize

ControllerBaseBuildCacheKey Method

Builds a cache key for use with GetFromCacheIfPresent. The cache key is not hashed because we have experienced a collision using GetHashCode() ie. the cache keys are quite long and there is a price in dictionary size in memory and in dictionary lookups.

Namespace:  Omada.OE.AppLogic
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
protected string BuildCacheKey(
	string method,
	params Object[] args
)

Parameters

method
Type: SystemString
args
Type: SystemObject
Should only contain simple types or collections of simple types. Method sorts collection params and removes duplets.

Return Value

Type: String
See Also