Beispiel #1
0
        private void _resetAlerts()
        {
            foreach (string key in configManager.GetAllTrackedKeys())
            {
                if (key.StartsWith(Alert.AlertKeyPrefix, StringComparison.Ordinal))
                {
                    configManager.SetInt(key, 1);
                }

                if (key.StartsWith(ConfigManager.FirstShownKeyPrefix, StringComparison.Ordinal))
                {
                    configManager.SetInt(key, 0);
                }
            }
        }
Beispiel #2
0
        private void _resetAlerts()
        {
            foreach (string key in configManager.GetAllTrackedKeys())
            {
                if (key.StartsWith(Alert.AlertKeyPrefix))
                {
                    configManager.SetInt(key, 1);
                }

                if (key.EndsWith(FirstShownKeySuffix))
                {
                    configManager.SetInt(key, 0);
                }
            }
        }