![]() | MemoryAdhocCacheService Class |
Namespace: SanteDB.Caching.Memory
The MemoryAdhocCacheService type exposes the following members.
Name | Description | |
---|---|---|
![]() | MemoryAdhocCacheService |
Ad-hoc cache initialization
|
Name | Description | |
---|---|---|
![]() | ServiceName |
Gets the service name
|
Name | Description | |
---|---|---|
![]() | AddT |
Add the specified data to the cache
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Exists |
Returns true if key exists in the cache
|
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetT |
Gets the specified value from the cache
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Remove |
Remove the specified key
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | ConvertTReturn |
The purpose of this method is to convert object me to TReturn. Why?
Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast
so we have to copy.
(Defined by ExtensionMethods.) |
![]() | GetInstanceOfTDomain |
Gets an instance of TDomain from me
(Defined by ModelExtensions.) |
This implementation of the adhoc caching service uses in-process memory to store unstructured data which is commonly used in the application.