IThreadSafeCacheAccessorTKey, TValueItem Property

Gets the value associated with the specified key. If a value does not exist in the underlying cache, then the loader delegate will be invoked, which was specified when this IThreadSafeCacheAccessorTKey, TValue instance was created.

Definition

Namespace: KGySoft.Collections
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 7.0.0-rc.1
C#
TValue this[
	TKey key
] { get; }

Parameters

key  TKey
The key of the value to be retrieved.

Return Value

TValue
The value of the corresponding key.

See Also