Esempio n. 1
0
        public decimal GetProjectedOrRealFantasyPoints(ScoringSystem scoringSystem, SystemWideValues systemWideValues, bool simpleProjections, IClock clock)
        {
            if (MasterGame.HasNoValue)
            {
                return(systemWideValues.GetAveragePoints(CounterPick));
            }

            decimal?fantasyPoints = CalculateFantasyPoints(scoringSystem, clock);

            if (fantasyPoints.HasValue)
            {
                return(fantasyPoints.Value);
            }

            if (simpleProjections)
            {
                return(MasterGame.Value.GetSimpleProjectedFantasyPoints(systemWideValues, CounterPick));
            }

            return(MasterGame.Value.GetProjectedOrRealFantasyPoints(scoringSystem, CounterPick, clock));
        }
 public decimal GetSimpleProjectedFantasyPoints(SystemWideValues systemWideValues, bool counterPick)
 {
     return(systemWideValues.GetAveragePoints(counterPick));
 }