常用方法
常用方法
常用方法
常用方法
public async Task Clear() { await this.Adds(); await _distributedCache.ClearAsync(); var keys = await _distributedCache.GetKeysAsync(); Xunit.Assert.True(keys.Count() == 0); }
public async Task Clear() { await this.Adds(); await _distributedCache.ClearAsync(); var keys = await _distributedCache.GetKeysAsync(); Xunit.Assert.True(keys.Count() == 0); }