Esempio n. 1
0
        private void UpdateDisplays(IStorageEngine storageEngine)
        {
            _logger.Debug("Updating storage engine displays");

            var size = storageEngine.GetStoredSize();
            var snapshotCount = storageEngine.GetSnapshotCount();

            Invoke((Action) (() =>
            {
                _logger.Debug("Updating Status");
                _systemTrayMenuManager.UpdateStatus(ServerStatus.Running, size, snapshotCount);
                _logger.Debug("Status updated");
            }));

            _logger.Debug("Storage engine displays updated");
        }