Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 95957db

Browse files
committed
Add SetValues() alias for SetAll()
1 parent 7187022 commit 95957db

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/ServiceStack.Redis/RedisClient.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,11 @@ public List<Dictionary<string, string>> GetClientList()
244244
return GetClientsInfo();
245245
}
246246

247+
public void SetValues(Dictionary<string, string> map)
248+
{
249+
SetAll(map);
250+
}
251+
247252
public void SetAll(IEnumerable<string> keys, IEnumerable<string> values)
248253
{
249254
if (keys == null || values == null) return;

0 commit comments

Comments
 (0)