示例#1
0
        private void ReadSettingsXml()
        {
            FileInfo targetXml = new FileInfo(Path.Combine(
                                                  Hub.RunTimeValues.AssemblyDirectory,
                                                  Constants.TargetDataXml));

            Hub.Reporter.ToHuman("Reading settings file: " + targetXml);

            var settingsReader = new SettingsFile(Hub);

            Hub.XmlData = settingsReader.ReadFromXml(targetXml);
        }