Beispiel #1
0
 private void OnUnknownActivityRecordUpdated(object sender, ActivityRecordEventArgs e)
 {
     if (UnknownActivityRecordUpdated != null)
     {
         UnknownActivityRecordUpdated(this, e);
     }
 }
Beispiel #2
0
 private void OnUnknownActivityLogged(object sender, ActivityRecordEventArgs e)
 {
     Application.Current.Dispatcher.InvokeAsync(
         () =>
     {
         _unknownActivityNotificationViewModel.AddRecord(e.ActivityRecord);
         ShowUnknownActivitiesNotification();
     });
 }
 private void OnUnknownActivityRecordUpdated(object sender, ActivityRecordEventArgs e)
 {
     if (UnknownActivityRecordUpdated != null)
     {
         UnknownActivityRecordUpdated(this, e);
     }
 }
 private void OnUnknownActivityLogged(object sender, ActivityRecordEventArgs e)
 {
     Application.Current.Dispatcher.InvokeAsync(
         () =>
         {
             _unknownActivityNotificationViewModel.AddRecord(e.ActivityRecord);
             ShowUnknownActivitiesNotification();
         });
 }