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(); }
private void Load() { iOS = iOSConfiguration.Load(); notifications = new NotificationsConfigurator(); }