Exemple #1
0
 public static void Initialize(string fileName)
 {
     string content = File.ReadAllText(fileName);
     Settings = JsonConvert.DeserializeObject<Models.Config>(content);
 }
Exemple #2
0
        public static void Initialize(string fileName)
        {
            string content = File.ReadAllText(fileName);

            Settings = JsonConvert.DeserializeObject <Models.Config>(content);
        }