ISwrStore.TryGet method
ISwrStore.TryGet method
Section titled “ISwrStore.TryGet method”Attempts to retrieve a cache entry by key. Returns true if found.
public bool TryGet(string key, out CacheEntry? entry)| parameter | description |
|---|---|
| key | The cache key to look up. |
| entry | The cache entry if found, or null if not present. |
Return Value
Section titled “Return Value”True if a cache entry exists for the given key; otherwise false.
See Also
Section titled “See Also”- record CacheEntry
- interface ISwrStore
- namespace Swr.Net.Store