RunTimeApps.Caching.Redis by Developer

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

 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 void SetString(string key, string value)

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

public Task SetStringAsync(string key, string value)

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

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

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

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

public void SetValue<T>(string key, T value, TimeSpan? lifeTime)

public void SetValue<T>(string key, T value)

public void SetValue<T>(string key, T value, DateTimeOffset? expireTime)

public Task SetValueAsync<T>(string key, T value, TimeSpan? lifeTime)

public Task SetValueAsync<T>(string key, T value)

public Task SetValueAsync<T>(string key, T value, DateTimeOffset? expireTime)

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

public void SetValues<T>(KeyValuePair<string, T>[] pairs)

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

public Task SetValuesAsync<T>(KeyValuePair<string, T>[] pairs)