public void OptIn() { telemetryRepository.Data.IsAnonymousDataShared = true; telemetryRepository.Save(); EnableAllEvents(); }
void IServerNotificationsTelemetryManager.NotificationsToggled(bool areNotificationsEnabled) { Debug.Assert(telemetryRepository.Data != null); telemetryRepository.Data.ServerNotifications.IsDisabled = !areNotificationsEnabled; telemetryRepository.Save(); }