AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

AdvantageCacheManager..::..Store<(Of <(<'T>)>)> Method

Stores object of type T under a specific key.

Namespace:  AdvantageCMS.Core.Utils.Cache
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public void Store<T>(
	string key,
	T item,
	string category,
	int expiryMinutes
)

Type Parameters

T

Parameters

key
Type: String
The key.
item
Type: T
The item.
category
Type: String
The category.
expiryMinutes
Type: Int32
The expiry minutes.