private void GetBackups() { var BackupLogs = new BackupLogs(); _dictionary = new Dictionary <DateTime, List <FileProcessor> >(); try { _dictionary = BackupLogs.GetDictionaryFromJson(); } catch (Exception ex) { Console.WriteLine(ex.Message + Environment.NewLine + ex.StackTrace); } }
public Observer() { _backupLogs = new BackupLogs(); _backupLogs.BackupsLogDictionary = _backupLogs.GetDictionaryFromJson(); }