Beispiel #1
0
        private AppSettingConfig DeserializeAppSettingConfig(XmlNode root)
        {
            var section = root.SelectSingleNode("appSetting");

            if (section == null)
            {
                return(AppSettingConfig.Default);
            }

            var config = new AppSettingConfig();

            config.LoadFrom(section);
            return(config);
        }