Ejemplo n.º 1
0
 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();
     }
 }
Ejemplo n.º 2
0
 private InputHistoryList()
 {
     _InputHistory = new InputHistory();
 }