Ejemplo n.º 1
0
 public static void ReadConfiguration(String ConfigurationFilename)
 {
     if (File.Exists(ConfigurationFilename))
     {
         String jsonfile = File.ReadAllText(ConfigurationFilename);
         //Console.WriteLine(jsonfile);
         MiataruAccountConfigFile = JsonConvert.DeserializeObject <MiataruAccountConfigurationFile>(jsonfile);
         //Console.WriteLine(GoogleLatitudeAccounts.GoogleLatitudeIDs.Count);
     }
 }
Ejemplo n.º 2
0
		public static void ReadConfiguration(String ConfigurationFilename)
		{
			if (File.Exists(ConfigurationFilename))
			{
				String jsonfile = File.ReadAllText(ConfigurationFilename);
                //Console.WriteLine(jsonfile);
				MiataruAccountConfigFile = JsonConvert.DeserializeObject<MiataruAccountConfigurationFile>(jsonfile);
                //Console.WriteLine(GoogleLatitudeAccounts.GoogleLatitudeIDs.Count);
			}
		}