private void OnConfigurationRegistered(object sender, SDK.Model.Events.ConfigurationChangedEventArgs e) {
if (!this.Dispatcher.CheckAccess()) {
this.Dispatcher.Invoke(System.Windows.Threading.DispatcherPriority.Normal, new SDK.Model.Events.ConfigurationChangedEventHandler((s, e2) => {
OnConfigurationRegistered(sender, e2);
}), sender, e);
return;
}
Configurations.Add(new ConfigurationViewModel(e.Configuration));
}