Insert(T) Method

SimpleEssentials

ICacheType..::..Insert<(Of <(<'T>)>)> Method

Namespace:  SimpleEssentials.Cache
Assembly:  SimpleEssentials (in SimpleEssentials.dll)

Syntax


void Insert<T>(
	T data,
	string cacheKey,
	Nullable<TimeSpan> lifeSpan
)
Sub Insert(Of T) ( _
	data As T, _
	cacheKey As String, _
	lifeSpan As Nullable(Of TimeSpan) _
)
generic<typename T>
void Insert(
	T data, 
	String^ cacheKey, 
	Nullable<TimeSpan^> lifeSpan
)

Type Parameters

T

Parameters

data
Type: T
cacheKey
Type: String
lifeSpan
Type: Nullable<(Of <(<'TimeSpan>)>)>