Ejemplo n.º 1
0
        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);
            }
        }
Ejemplo n.º 2
0
 public Observer()
 {
     _backupLogs = new BackupLogs();
     _backupLogs.BackupsLogDictionary = _backupLogs.GetDictionaryFromJson();
 }