RedisCacheClient.HashGetAll<T>(string, CommandFlags) Method

RedisCacheClient.HashGetAll<T>(string, CommandFlags) Method

Returns all fields and values of the hash stored at key. In the returned value, every field name is followed by its value, so the length of the reply is twice the size of the hash.

public Dictionary<string, T> HashGetAll<T>(string hashKey, CommandFlags commandFlags = CommandFlags.None);

Parameters

hashKey string
Key of the hash
commandFlags CommandFlags
Command execution flags

Type Parameters

T

Returns

Dictionary<string, T>