/// <summary>
        /// Invokes the window displaying the modification history in the csv format.
        /// </summary>
        internal async void DisplayModificationHistory()
        {
            try
            {
                string modificationHistoryText = await Task.Run(() => ClientDataAccessManager.DataAccessInstance.GetModificationHistory());

                ModificationHistoryView      modificationHistoryView      = new ModificationHistoryView();
                ModificationHistoryViewModel modificationHistoryViewModel = new ModificationHistoryViewModel(modificationHistoryText);
                modificationHistoryView.DataContext = modificationHistoryViewModel;
                modificationHistoryView.ShowDialog();
            }
            catch (Exception ex)
            {
                InfoDialogViewModel.ShowDialog(ex.Message, "Unhandled Exception");
                Log.LogException(ex, "MainViewModel.cs");
            }
        }
 /// <summary>
 /// Invokes the window displaying the modification history in the csv format.
 /// </summary>
 internal async void DisplayModificationHistory()
 {
     try
     {
         string modificationHistoryText = await Task.Run(() => ClientDataAccessManager.DataAccessInstance.GetModificationHistory());
         ModificationHistoryView modificationHistoryView = new ModificationHistoryView();
         ModificationHistoryViewModel modificationHistoryViewModel = new ModificationHistoryViewModel(modificationHistoryText);
         modificationHistoryView.DataContext = modificationHistoryViewModel;
         modificationHistoryView.ShowDialog();
     }
     catch (Exception ex)
     {
         InfoDialogViewModel.ShowDialog(ex.Message, "Unhandled Exception");
         Log.LogException(ex, "MainViewModel.cs");
     }
 }
 public void SettingValueOnModificationViewModelTriggersPropertyChanged()
 {
     string modficationHistoryTest = "Modification history test";
     ModificationHistoryViewModel viewModel = new ModificationHistoryViewModel(modficationHistoryTest);
     viewModel.PropertyChanged += (s, e) =>
     {
         Assert.AreEqual("ModificationHistoryText", e.PropertyName);
         Assert.AreEqual(modficationHistoryTest, viewModel.ModificationHistoryText);
     };
     viewModel.ModificationHistoryText = modficationHistoryTest;
 }