/// <summary>
 ///     Constructor.
 /// </summary>
 /// <param name="ethereumNetworkConfigurationManager"></param>
 /// <param name="ethereumBlockStatus"></param>
 /// <param name="latestBlockRetriever">Retriever of the latest blocks.</param>
 /// <param name="dateTimeSource">Source of time</param>
 /// <param name="brokenGameRecovery">Broken game recovery.</param>
 /// <param name="logger">Logging</param>
 public BrokenGameRecoveryService(IEthereumNetworkConfigurationManager ethereumNetworkConfigurationManager,
                                  IEthereumBlockStatus ethereumBlockStatus,
                                  IEthereumLatestBlockRetriever latestBlockRetriever,
                                  IDateTimeSource dateTimeSource,
                                  IBrokenGameRecovery brokenGameRecovery,
                                  ILogger <BrokenGameRecoveryService> logger)
     : base(ethereumNetworkConfigurationManager: ethereumNetworkConfigurationManager,
            ethereumBlockStatus: ethereumBlockStatus,
            latestBlockRetriever: latestBlockRetriever,
            processUnchangedBlocks: false,
            dateTimeSource: dateTimeSource,
            sweepInterval: TimeSpan.FromSeconds(1),
            blockTriggeredService: new BackgroundService(brokenGameRecovery),
            logger: logger)
 {
 }
 public BackgroundService(IBrokenGameRecovery brokenGameRecovery)
 {
     this._brokenGameRecovery = brokenGameRecovery ?? throw new ArgumentNullException(nameof(brokenGameRecovery));
 }