示例#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);
            }
        }
示例#2
0
 public Observer()
 {
     _backupLogs = new BackupLogs();
     _backupLogs.BackupsLogDictionary = _backupLogs.GetDictionaryFromJson();
 }