InternalCacheHelperGetCachedItemT Method (DictionaryT, InternalCacheItem, T) |
Search cache
Namespace:
Atomia.Billing.Core.Sdk.BusinessLogic
Assembly:
Atomia.Billing.Core.Sdk (in Atomia.Billing.Core.Sdk.dll) Version: 18.10.7096.28998
Syntax public static InternalCacheItem GetCachedItem<T>(
Dictionary<T, InternalCacheItem> cache,
T key
)
Public Shared Function GetCachedItem(Of T) (
cache As Dictionary(Of T, InternalCacheItem),
key As T
) As InternalCacheItem
public:
generic<typename T>
static InternalCacheItem^ GetCachedItem(
Dictionary<T, InternalCacheItem^>^ cache,
T key
)
static member GetCachedItem :
cache : Dictionary<'T, InternalCacheItem> *
key : 'T -> InternalCacheItem
Parameters
- cache
- Type: System.Collections.GenericDictionaryT, InternalCacheItem
The cache - key
- Type: T
Key value
Type Parameters
- T
- Data type of the key to search for
Return Value
Type:
InternalCacheItemThe cached item or null
See Also