RoboZhando/Redis/StackExchangeClient.cs
/// <summary>
/// Gets all values in a set
/// </summary>
/// <param name="key"></param>
/// <returns></returns>
Gets all values in a set
Gets all values in a set
public async Task<HashSet<string>> FetchHashSetAsync(string key)
        {
            RedisValue[] redisValues = await DatabaseAsync.SetMembersAsync(key);
            return new HashSet<string>(redisValues.Select(rv => rv.ToString()));
        }
public async Task < HashSet < string > > FetchHashSetAsync ( string key ) { RedisValue [ ] redisValues = await DatabaseAsync . SetMembersAsync ( key ) ; return new HashSet < string > ( redisValues . Select ( rv => rv . ToString ( ) ) ) ; }
Gets all values in a set
Gets all values in a set
None
key
string
None