// 레디스 테스트(int, float, string) 삭제 private async void button4_Click(object sender, EventArgs e) { try { if (string.IsNullOrEmpty(textBoxRedisTestInt.Text) == false) { var value = await RedisLib.DeleteString <int>(REDIS_INT_KEY); DevLog.Write(string.Format("String Delete. {0} : result({1})", REDIS_INT_KEY, value)); } if (string.IsNullOrEmpty(textBoxRedisTestDouble.Text) == false) { var value = await RedisLib.DeleteString <double>(REDIS_DOUBLE_KEY); DevLog.Write(string.Format("String Delete. {0} : result({1})", REDIS_DOUBLE_KEY, value)); } if (string.IsNullOrEmpty(textBoxRedisTestString.Text) == false) { var value = await RedisLib.DeleteString <string>(REDIS_STRING_KEY); DevLog.Write(string.Format("String Delete. {0} : result({1})", REDIS_STRING_KEY, value)); } textBoxRedisTestInt.Text = textBoxRedisTestDouble.Text = textBoxRedisTestString.Text = ""; } catch (Exception ex) { DevLog.Write(ex.ToString()); } }
// 레디스 테스트(PERSION) 삭제 private async void button5_Click(object sender, EventArgs e) { var value = await RedisLib.DeleteString <PERSION>(REDIS_PERSION_KEY); DevLog.Write(string.Format("PERSION Delete. {0} : result({1})", REDIS_PERSION_KEY, value)); }