/// <summary>
 /// Initializes a new instance of the <see cref="ConfigPresenter"/> class.
 /// </summary>
 /// <param name="config">The config.</param>
 public ConfigPresenter(ConfigProperties config, GameMetaDataModel game)
 {
     _config = config;
     _game = game;
     InitializeCommands();
     _gameObserver = new PropertyObserver<GameMetaDataModel>(_game).RegisterHandler(o => o.GameNumber, o => OnPropertyChanged("GameNumber"));
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ReceiverService"/> class.
 /// </summary>
 /// <param name="eventAggregator">The event aggregator.</param>
 public FitnessTestGameService(IUnityContainer container, ILoggerFacade logger, ConfigProperties config, IRegionViewRegistry regionRegistry, IEventAggregator eventAggregator, GameMetaDataModel game)
 {
     _container = container;
     _game = game;
     _logger = logger;
     _config = config;
     _eventAggregator = eventAggregator;
     _regionRegistry = regionRegistry;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ReceiverService"/> class.
 /// </summary>
 /// <param name="eventAggregator">The event aggregator.</param>
 public DataLogService(IUnityContainer container, IEventAggregator eventAggregator, ILoggerFacade logger, 
     ConfigProperties config, DataLogModel dataLog, GameMetaDataModel game)
 {
     _container = container;
     _eventAggregator = eventAggregator;
     _logger = logger;
     _dataLog = dataLog;
     _game = game;
     _config = config;
     SubscribeEvents();
     LoadDataSet();
     if (dataLog.Impacts.Count > 0)
     {
         game.GameNumber = (byte)(dataLog.Impacts.Max(row => row.GameNumber) + 1);
     }
     _databaseWriter.DoWork += (sender, e) => WriteDatabaseToDisk();
 }