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

GetKeysAsync() public static method

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

                    return result;
                }