Exemplo n.º 1
0
 public static Config GetConfiguration(string[] configFileContent)
 {
     var configReader = new ConfigReader(configFileContent);
     try
     {
         return configReader.Read();
     }
     catch (IOException e)
     {
         // TODO Auto-generated catch block
         //e.printStackTrace();
     }
     return null;
 }
Exemplo n.º 2
0
 private static Config getConfiguration(FileSystemInfo configFile)
 {
     var configReader = new ConfigReader(configFile);
     try
     {
         return configReader.Read();
     }
     catch (IOException e)
     {
         // TODO Auto-generated catch block
         //e.printStackTrace();
         Logger.Error("Error Processing Config File", e);
     }
     return null;
 }