static void OnSettingChanged(object sender, NotifyEventArgs args) { lock (cache) { if (cache.ContainsKey(args.Key)) { cache [args.Key] = args.Value; } } if (SettingChanged != null) { SettingChanged(sender, args); } }
void OnPreferencesChanged(object sender, NotifyEventArgs args) { LoadPreference (args.Key); }
void OnPreferencesChanged(object sender, NotifyEventArgs args) { LoadPreference(args.Key); }