public void LoadHistory() { if (File.Exists(GetFilePath()) == false) { return; } using (StreamReader sr = new StreamReader(GetFilePath(), Encoding.GetEncoding("Shift_JIS"))) { string jsonstring = sr.ReadToEnd(); _InputHistory = JsonConvert.DeserializeObject <InputHistory>(jsonstring); _InputHistory.FilterNoExistFilePath(); } }
private InputHistoryList() { _InputHistory = new InputHistory(); }