Click or drag to resize

MemoryCacheServiceGetCacheItem(Guid) Method

Gets the cache item specified by key regardless of the type of data

Namespace: SanteDB.Caching.Memory
Assembly: SanteDB.Caching.Memory (in SanteDB.Caching.Memory.dll) Version: 3.0.2081-alpha+73f4bcede15fc876f30607896483d7d817ecc787
Syntax
public IdentifiedData GetCacheItem(
	Guid key
)

Parameters

key  Guid
The key identifier of the object to fetch from cache

Return Value

IdentifiedData
The retrieved cache item

Implements

IDataCachingServiceGetCacheItem(Guid)
Remarks
This method differs from GetCacheItemTData(Guid) in that it does not attempt to cast the data it locates. The data returned will be an instance of IdentifiedData
Thread Safety
Static members of this type are safe for multi-threaded operations. Instance members of this type are safe for multi-threaded operations.
See Also