CacheSettings Constructor (String, CacheStorage, TimeSpan)

SimpleEssentials

CacheSettings Constructor (String, CacheStorage, TimeSpan)

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

Syntax


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

Parameters

key
Type: String
storageType
Type: SimpleEssentials.Cache..::..CacheStorage
lifeSpan
Type: TimeSpan