RunTimeApps.Caching.Redis by Developer

<PackageReference Include="RunTimeApps.Caching.Redis" Version="1.0.4" />

 RedisCacheService

public RedisCacheService(RedisConfiguration configuration, ISerializer serializer, IConnectionFactory connectionFactory = null, ILogger logger = null, int db = 0)

public void Delete(string key)

public Task DeleteAsync(string key)

public void Dispose()

public string GetString(string key, string region = null)

public Task<string> GetStringAsync(string key, string region = null)

public string[] GetStrings(string[] keys, string region = null)

public Task<string[]> GetStringsAsync(string[] keys, string region = null)

public T GetValue<T>(string key, string region = null)

public Task<T> GetValueAsync<T>(string key, string region = null)

public IDictionary<string, T> GetValues<T>(string[] keys)

public Task<IDictionary<string, T>> GetValuesAsync<T>(string[] keys)

public void SetString(string key, string value, TimeSpan? lifeTime)

public Task SetStringAsync(string key, string value, TimeSpan? lifeTime)

public void SetStrings(KeyValuePair<string, string>[] pairs, TimeSpan? lifeTime)

public Task SetStringsAsync(KeyValuePair<string, string>[] pairs, TimeSpan? lifeTime)

public void SetValue(string key, object value, TimeSpan? lifeTime)

public void SetValue(string key, object value, DateTimeOffset? expireTime)

public Task SetValueAsync(string key, object value, TimeSpan? lifeTime)

public Task SetValueAsync(string key, object value, DateTimeOffset? expireTime)

public void SetValues(KeyValuePair<string, object>[] pairs, TimeSpan? lifeTime)

public Task SetValuesAsync(KeyValuePair<string, object>[] pairs, TimeSpan? lifeTime)