 | MemoryCacheServiceAdd Method |
Adds data to the cache
Namespace: SanteDB.Caching.MemoryAssembly: SanteDB.Caching.Memory (in SanteDB.Caching.Memory.dll) Version: 3.0.2081-alpha+73f4bcede15fc876f30607896483d7d817ecc787
Syntaxpublic void Add(
IdentifiedData data
)
Public Sub Add (
data As IdentifiedData
)
public:
virtual void Add(
IdentifiedData^ data
) sealed
abstract Add :
data : IdentifiedData -> unit
override Add :
data : IdentifiedData -> unit Parameters
- data IdentifiedData
- The data which is to be added to the cache
Implements
IDataCachingServiceAdd(IdentifiedData)
RemarksThis method will use the key identifier of the
data object passed into it by the caller as the
basis for storing the data in the cache. When retrieving via the
GetCacheItem(Guid) method
Thread SafetyStatic members of this type are safe for multi-threaded operations. Instance members of this type are safe for multi-threaded operations.
See Also