Beispiel #1
0
 private void ChangeNotificationRequested(object sender, ChangeNotificationRequestedArgs e)
 {
     foreach (IViewModelBase viewModel in viewModels)
     {
         if (e != null)
         {
             if (e.Type.IsAssignableFrom(viewModel.GetType()))
                 viewModel.NotifyChanges();
         }
         else
             viewModel.NotifyChanges();
     }
 }
 public void RaiseChangeNotificationRequested(ChangeNotificationRequestedArgs e)
 {
     if (ChangeNotificationRequested != null) ChangeNotificationRequested(this, e);
 }