Click or drag to resize
CachingAddT Method
Adds an object of type T to the cache.

Namespace: ConnectedApps.Cms.Sdk.Data
Assembly: ConnectedApps.Cms.Sdk.Data (in ConnectedApps.Cms.Sdk.Data.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public void Add<T>(
	string key,
	T value,
	TimeSpan expiration
)

Parameters

key
Type: SystemString
The key to store the object with.
value
Type: T
The object to cache
expiration
Type: SystemTimeSpan
The expiration by which the object will be evicted from the cache.

Type Parameters

T
See Also