Represents a read-only indexer for a CacheTKey, TValue instance, which provides thread-safe access to the cache.
Can be retrieved by the GetThreadSafeAccessor method.
Namespace: KGySoft.Collections
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 5.5.0-rc.1
Syntax
Type Parameters
- TKey
- The type of the key in the cache.
- TValue
- The type of the value in the cache.
The IThreadSafeCacheAccessorTKey, TValue type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() | Item |
Gets the value associated with the specified key.
If an element does not exist in the underlying CacheTKey, TValue instance, then the loader delegate will be
invoked, which was passed to the constructor.
|
See Also