Пример #1
0
 /// <summary>
 /// 入栈
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="key"></param>
 /// <param name="value"></param>
 /// <returns></returns>
 public async Task <long> ListLeftPushAsync <T>(string key, T value)
 {
     return(await CsRedisHelper.LPushAsync(key, new string[1] {
         ConvertJson <T>(value)
     }));
 }