コード例 #1
0
        private void Load()
        {
            if (File.Exists(CONFIG))
            {
                using (var stringReader = new StringReader(File.ReadAllText(CONFIG))) {
                    using (var xmlReader = XmlReader.Create(stringReader)) {
                        analytics = analyticsSerialiser.Deserialize(xmlReader) as Configuration;
                    }
                }
            }
            else
            {
                analytics = new Configuration();
            }

            iOS           = iOSConfiguration.Load();
            notifications = new NotificationsConfigurator();
            ads           = new AdsConfigurator();
        }
コード例 #2
0
 private void Load()
 {
     iOS           = iOSConfiguration.Load();
     notifications = new NotificationsConfigurator();
 }