void ShowMain() { if (CheckForConfigurationFormatUpgrade()) return; string config = ConfigurationSettings.AppSettings["FederationNamespaceMapFile"]; string mappedConfig = (config == null ? null : MapPath(config)); ConfigurationChecker checker = new ConfigurationChecker( config, mappedConfig); checker.Check(); checker.WriteStoplightTo(UIResponse); UIResponse.WriteDivider(); Federation aFederation = null; try { aFederation = new Federation(mappedConfig, Formatting.OutputFormat.HTML, new LinkMaker("")); } catch (Exception) { } if (aFederation != null) ShowFederationInfo(aFederation); }
private void ShowMain() { if (CheckForConfigurationFormatUpgrade()) return; string config = ConfigurationManager.AppSettings["FederationNamespaceMapFile"]; ConfigurationChecker checker = new ConfigurationChecker( config, (config == null ? null : MapPath(config))); checker.Check(); checker.WriteStoplightTo(UIResponse); checker.WriteTo(UIResponse); }