Click or drag to resize

IAdhocCacheServiceAddT Method

Add the specified object to the cache

Namespace: SanteDB.Core.Services
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
void Add<T>(
	string key,
	T value,
	TimeSpan? timeout = null
)

Parameters

key  String
The key to assign the cache
value  T
The value to store in the cache
timeout  NullableTimeSpan  (Optional)
The timeout for the object validity

Type Parameters

T

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

See Also