BB.Caching.Cache.Shared.Hashes.DeleteAsync C# (CSharp) Method

DeleteAsync() public static method

Removes the specified fields from the hash stored at key. Non-existing fields are ignored. Non-existing keys are treated as empty hashes and this command returns 0.
http://redis.io/commands/hdel
public static DeleteAsync ( RedisKey key, RedisValue field ) : Task
key RedisKey /// The key. ///
field RedisValue /// The field. ///
return Task
                public static Task<bool> DeleteAsync(RedisKey key, RedisValue field)
                {
                    Task<bool> result = SharedCache.Instance.GetWriteConnection(key)
                        .GetDatabase(SharedCache.Instance.Db)
                        .HashDeleteAsync(key, field);

                    return result;
                }

Same methods

Cache.Shared.Hashes::DeleteAsync ( RedisKey key, RedisValue fields ) : Task