Exemplo n.º 1
0
 /// <summary>
 /// Removes the element with the specified key from the <see cref="T:System.Collections.Generic.IDictionary`2" />.
 /// </summary>
 /// <param name="key">The key of the element to remove.</param>
 /// <returns>
 /// true if the element is successfully removed; otherwise, false.  This method also returns false if <paramref name="key" /> was not found in the original <see cref="T:System.Collections.Generic.IDictionary`2" />.
 /// </returns>
 public bool Remove(TKey key)
 {
     return(RedisDb.HashDelete(RedisKey, KeySerializer.Serialize(key)));
 }