Click or drag to resize

PlatformCacheTKey, TValue Method

Gets a shared cache dictionary

Namespace:  Eto
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public Dictionary<TKey, TValue> Cache<TKey, TValue>(
	Object cacheKey
)

Parameters

cacheKey
Type: SystemObject
Unique cache key to load the cache instance

Type Parameters

TKey
The type of the lookup key
TValue
The type of the lookup value

Return Value

Type: DictionaryTKey, TValue

[Missing <returns> documentation for "M:Eto.Platform.Cache``2(System.Object)"]

Remarks
This is used to cache things like brushes and pens, but can also be used to cache other things for your application's use.
See Also