public void Run() { if (_showConfig) { ConfigurationManagerUtils.ShowConfig(_cm); } if (_showHtml) { try { HTMLDumper.ShowConfigAsHTML(_cm, "foo.html"); } catch (IOException e) { this.LogWarning("Can't open " + _htmlPath + ' ' + e); } } if (_showGdl) { try { GDLDumper.ShowConfigAsGDL(_cm, _gdlPath); } catch (IOException e) { this.LogWarning("Can't open " + _gdlPath + ' ' + e); } } if (_saveXML) { ConfigurationManagerUtils.Save(_cm, new FileInfo(_xmlPath)); } }