Пример #1
0
 /// <summary>
 /// Clears a subkey from the cache
 /// </summary>
 /// <returns>An awaitable task</returns>
 public Task InvalidateAsync(string subkey) => m_parent.RemoveItem(GetKeyForSubkey(subkey));
Пример #2
0
 /// <summary>
 /// Clears the key from the cache
 /// </summary>
 /// <returns>An awaitable task</returns>
 public Task InvalidateAsync() => m_parent.RemoveItem(m_key);