Exemplo n.º 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));
Exemplo n.º 2
0
 /// <summary>
 /// Clears the key from the cache
 /// </summary>
 /// <returns>An awaitable task</returns>
 public Task InvalidateAsync() => m_parent.RemoveItem(m_key);