ObjectCacheAdapter..::..Write Method
Writes to cache.
Namespace:
Tortuga.Chain.CoreAssembly: Tortuga.Chain.Core (in Tortuga.Chain.Core.dll)
Syntax
public void Write( string cacheKey, Nullable<Object> value, Nullable<CachePolicy> policy )
Public Sub Write ( _ cacheKey As String, _ value As Nullable(Of Object), _ policy As Nullable(Of CachePolicy) _ )
public: void Write( String^ cacheKey, Nullable<Object^> value, Nullable<CachePolicy^> policy )
Parameters
- cacheKey
- Type: String
The cache key.
- policy
- Type: Nullable<(Of <(<'CachePolicy>)>)>
The policy.