protected override void AddReportHand(Playerstatistic statistic)
        {
            if (!CanAddHands)
            {
                return;
            }

            if (processedHands.Contains(statistic.GameNumber))
            {
                return;
            }

            processedHands.Add(statistic.GameNumber);

            if (reportHands.Count >= handsToStore)
            {
                reportHands.Remove(reportHands.Keys.First());
            }

            var reportHandKey = new ReportHandKey
            {
                GameNumber = statistic.GameNumber,
                Time       = statistic.Time
            };

            reportHands.Add(reportHandKey, new ReportHandViewModel(statistic));
        }
 private bool Equals(ReportHandKey reportHandKey)
 {
     return(reportHandKey != null && reportHandKey.GameNumber == GameNumber);
 }