Get the instance of the Cache Manager.

Namespace: MonoSoftware.Web.Caching
Assembly: MonoSoftware.Web (in MonoSoftware.Web.dll) Version: 1.0.40.661 (1.0.40.661)

Syntax

C#
public static CacheManager GetInstance(
	string baseKey,
	int timeout
)
Visual Basic
Public Shared Function GetInstance ( 
	baseKey As String,
	timeout As Integer
) As CacheManager
Visual C++
public:
static CacheManager^ GetInstance(
	String^ baseKey, 
	int timeout
)
F#
static member GetInstance : 
        baseKey : string * 
        timeout : int -> CacheManager 

Parameters

baseKey
Type: System..::..String
Base cache key
timeout
Type: System..::..Int32
Cache timeout (in seconds)

Return Value

Type: CacheManager
Cache manager

See Also