예제 #1
0
 /// <summary>
 /// 获取全部
 /// </summary>
 /// <param name="key"></param>
 /// <param name="count"></param>
 /// <returns></returns>
 public async Task <List <T> > SortedSetRangeByRankAsync <T>(string key, long count = 1000)
 {
     return(ConvertListObj <T>(Enumerable.ToList <string>((await CsRedisHelper.ZRangeAsync(key, 0, count)))));
 }