Click or drag to resize

MemoryAdhocCacheServiceAddT Method

Add the specified data to the cache

Namespace: SanteDB.Caching.Memory
Assembly: SanteDB.Caching.Memory (in SanteDB.Caching.Memory.dll) Version: 3.0.2081-alpha+73f4bcede15fc876f30607896483d7d817ecc787
Syntax
public void Add<T>(
	string key,
	T value,
	TimeSpan? timeout = null
)

Parameters

key  String

[Missing <param name="key"/> documentation for "M:SanteDB.Caching.Memory.MemoryAdhocCacheService.Add``1(System.String,``0,System.Nullable{System.TimeSpan})"]

value  T

[Missing <param name="value"/> documentation for "M:SanteDB.Caching.Memory.MemoryAdhocCacheService.Add``1(System.String,``0,System.Nullable{System.TimeSpan})"]

timeout  NullableTimeSpan  (Optional)

[Missing <param name="timeout"/> documentation for "M:SanteDB.Caching.Memory.MemoryAdhocCacheService.Add``1(System.String,``0,System.Nullable{System.TimeSpan})"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:SanteDB.Caching.Memory.MemoryAdhocCacheService.Add``1(System.String,``0,System.Nullable{System.TimeSpan})"]

Implements

IAdhocCacheServiceAddT(String, T, NullableTimeSpan)
See Also