Retrieves the specified item from the cache.
Namespace:
Mindroute.Core.CachingAssembly: Mindroute.Core (in Mindroute.Core.dll) Version: 1.0.0.0 (1.0.0)
Syntax
| C# |
|---|
T Get<T>( CacheRegion region, string key ) |
| Visual Basic (Declaration) |
|---|
Function Get(Of T) ( _ region As CacheRegion, _ key As String _ ) As T |
Parameters
- region
- Type: Mindroute.Core.Caching..::.CacheRegion
The cache region from which to get the cache item.
- key
- Type: System..::.String
The identifier for the cache item to retrieve.
Type Parameters
- T
- The type of data to get from the cache.