Exemplo n.º 1
0
 private static void LoadSafe()
 {
     try
     {
         EnsureConfigurationFileExists();
         IniReader reader = new IniReader(ConfigurationFileName);
         reader.Read(Instance);
     }
     catch (Exception ex)
     {
         Log.Error(ex, "Failed to load a configuration.");
     }
 }