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

GetValuesAsync() public static method

Returns all values in the hash stored at key.
http://redis.io/commands/hvals
public static GetValuesAsync ( RedisKey key ) : Task
key RedisKey /// The key. ///
return Task
                public static Task<RedisValue[]> GetValuesAsync(RedisKey key)
                {
                    Task<RedisValue[]> result = SharedCache.Instance.GetWriteConnection(key)
                        .GetDatabase(SharedCache.Instance.Db)
                        .HashValuesAsync(key);

                    return result;
                }