Example #1
0
 /// <summary>
 /// 清除缓存
 /// </summary>
 /// <returns></returns>
 public async Task ClearAsync()
 {
     RedisClient.Clear();
     await Task.FromResult(0);
 }
Example #2
0
 /// <summary>
 /// 清楚所有缓存
 /// </summary>
 public void Clear()
 {
     RedisClient.Clear();
 }