MemoryCacheTTryGet Method
Try to get a value from the memory cache.
Namespace: Gemstone.CachingAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.167 -- Release Build+1e132a4d484f1823d39b71639f55ad9da4974e99
public static bool TryGet(
string cacheName,
out T? value
)
Gemstone.Caching.MemoryCache.TryGet = function(cacheName, value);
- cacheName String
- Name to use as cache key -- this should be unique per T.
- value T
- Value from cache if already cached; otherwise, default value for T.
Booleantrue if value was found in cache; otherwise,
false.