/// <summary> /// This is a callback method that is always called when /// the internal load process is finished /// (even when it failed to finish after initialization). /// </summary> /// <param name="loadWasSuccessful"></param> private void LoadFinishedEvent(bool loadWasSuccessful) { if (loadWasSuccessful) { _fileLoader = new LogFileLoader(); _fileLoader.LoadResultEvent += RefreshCommandsCanExecute; ManageRepositoriesViewModel.IsLoading = true; _fileLoader.ExecuteAsynchronously(delegate { LogEntryRows.SetEntries( ManageRepositoriesViewModel.Repositories.ToList()); }, true); } _logEntryRows.FilterViewModel.Analysis = YalvRegistry.Instance.ActualWorkspace.CurrentAnalysis; _manageTextMarkersViewModel.Analysis = YalvRegistry.Instance.ActualWorkspace.CurrentAnalysis; }