AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

IAdvantageCacheContainer..::..Get<(Of <(<'T>)>)> Method

Retrieves a cached item of type T by its key.

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

Syntax


T Get<T>(
	string key
)

Type Parameters

T
The type of the cached object. Must be a reference type.

Parameters

key
Type: String
The cache key used to look up the item.

Return Value

The cached object, or null if not found.