1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| namespace IStation
| {
| internal sealed partial class SharedMemoryCache
| {
| /// <summary>
| /// Determines whether a cache entry exists in the cache
| /// </summary>
| /// <param name="key">the cache key to look for</param>
| /// <returns>true if the supplied cache key was found</returns>
| public bool Contains(string key)
| {
| return _memoryCache.TryGetValue(key, out _);
| }
| }
| }
|
|