CacheSettings Constructor (String, TimeSpan)

SimpleEssentials

CacheSettings Constructor (String, TimeSpan)

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

Syntax


public CacheSettings(
	string key,
	TimeSpan lifeSpan
)
Public Sub New ( _
	key As String, _
	lifeSpan As TimeSpan _
)
public:
CacheSettings(
	String^ key, 
	TimeSpan^ lifeSpan
)

Parameters

key
Type: String
lifeSpan
Type: TimeSpan