Beispiel #1
0
        public void ShrinkReportHands()
        {
            if (ReportHands == null)
            {
                return;
            }

            ReportHands = new ObservableCollection <ReportHandViewModel>(ReportHands.OrderByDescending(x => x.Time).Take(handsToStore));
        }
Beispiel #2
0
        public virtual void AddIndicator(ReportIndicators indicator)
        {
            if (indicator == null)
            {
                throw new ArgumentNullException(nameof(indicator));
            }

            base.AddIndicator(indicator);

            ReportHands?.AddRange(indicator.ReportHands);
            Statistics?.AddRange(indicator.Statistics);

            rakeback += indicator.rakeback;
        }
Beispiel #3
0
        protected virtual void AddReportHand(Playerstatistic statistic)
        {
            var reportHandViewModel = new ReportHandViewModel(statistic);

            ReportHands.Add(reportHandViewModel);
        }
Beispiel #4
0
 public override void Clean()
 {
     base.Clean();
     ReportHands.Clear();
 }