コード例 #1
0
        public static ConnectionData ReadConnection(string fileName)
        {
            var jsonData = DataIsolatedService.ReadData(fileName);

            return(jsonData.HasValue() ? JsonConvert.DeserializeObject <ConnectionData>(jsonData) : null);
        }
コード例 #2
0
 public static void SaveConnection(string fileName, ConnectionData data)
 {
     DataIsolatedService.SaveData(fileName, data.Json);
 }