Click or drag to resize

MemoryCacheService Methods

The MemoryCacheService type exposes the following members.

Methods
  NameDescription
Public methodAdd
Adds data to the cache
Public methodClear
Purges the entire cache of all entries
Public methodEquals (Inherited from Object.)
Public methodExistsT
Determines if the object exists
Protected methodFinalize (Inherited from Object.)
Public methodGetCacheItem(Guid)
Gets the cache item specified by key regardless of the type of data
Public methodGetCacheItemTData(Guid)
Gets the cache item specified by key returning it as a casted instance of TData. Returning the default of TData if the object doesn't exist or if the object is the wrong type.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemove(Guid)
Removes/evicts an object with identifier key from the cache
Public methodRemove(IdentifiedData)
Removes/evicts the provided object form cache if available
Public methodStart
Indicates the caller wishes to start the daemon service lifecycle
Public methodStop
Indicates the caller wishes to stop the daemon service
Public methodToString (Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodConvertTReturn
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.)
Top
See Also