Exemple #1
0
 /// <summary>
 /// 获取指定key的List
 /// </summary>
 /// <param name="key"></param>
 /// <param name="count"></param>
 /// <returns></returns>
 public async Task <List <T> > ListRangeAsync <T>(string key, long count = 1000)
 {
     return(ConvertListObj <T>(Enumerable.ToList <string>((await CsRedisHelper.LRangAsync(key, 0, count)))));
 }