ReadFromAppSettings() приватный Метод

Reads settings from ConfigurationManager.AppSettings and transfers them to properties.
private ReadFromAppSettings ( ) : void
Результат void
Пример #1
0
        public static Config Load()
        {
            var config = new Config();

            config.ReadFromAppSettings();
            config.ReadFromIniFiles();
            if (WindowsUtils.IsWindowsNT)
            {
                config.ReadFromRegistry();
            }

            return(config);
        }
Пример #2
0
        public static Config Load()
        {
            var config = new Config();

            config.ReadFromAppSettings();
            config.ReadFromIniFiles();
            if (WindowsUtils.IsWindowsNT)
                config.ReadFromRegistry();

            return config;
        }