/// <summary> /// Sets an object at the given key, value, and expiration. /// </summary> /// <param name="toSet"></param> public async Task SetAsync(RedisObjectValue toSet) { await this._SetAsync(toSet.key, toSet.value, toSet.expiration); }
/// <summary> /// Sets an object at the given key, value, and expiration. /// </summary> /// <param name="toSet"></param> public void Set(RedisObjectValue toSet) { this._Set(toSet.key, toSet.value, toSet.expiration); }