Skip to content

ISwrStore.TryGet method

Attempts to retrieve a cache entry by key. Returns true if found.

public bool TryGet(string key, out CacheEntry? entry)
parameterdescription
keyThe cache key to look up.
entryThe cache entry if found, or null if not present.

True if a cache entry exists for the given key; otherwise false.