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.481-alpha
Syntax
void Add<T>(
	string key,
	T value,
	TimeSpan? timeout = null
)

Parameters

key
Type: SystemString
The key to assign the cache
value
Type: T
The value to store in the cache
timeout (Optional)
Type: SystemNullableTimeSpan
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