Appearance
Get Method
Definition
- Namespace:
JASE.Interfaces - Assembly:
JASE.Caching.dll
Overloads
| Name | Description |
|---|---|
object Get(string key) | Retrieves an item from the Cache as an object. Returns the stored reference; the cache does not clone. Treat cached values as immutable, or take a copy at the call site if isolation is required. Cache key |
T Get(string key) | Retrieves an item from the cache cast to type of T. Returns the stored reference; the cache does not clone. Treat cached values as immutable, or take a copy at the call site if isolation is required. Cache key |
object Get(string key)
csharp
object Get(string key)Retrieves an item from the Cache as an object. Returns the stored reference; the cache does not clone. Treat cached values as immutable, or take a copy at the call site if isolation is required. Cache key
T Get(string key)
csharp
T Get(string key)Retrieves an item from the cache cast to type of T. Returns the stored reference; the cache does not clone. Treat cached values as immutable, or take a copy at the call site if isolation is required. Cache key