/// <inheritdoc /> public IOutcome GetOutcome(IWager <IResult> wager, IResult actualResults) { if (wager == null) { throw new ArgumentNullException(nameof(wager)); } if (!_wagers.ContainsKey(wager)) { throw new ArgumentException( "Specified value is not part of this bet.", nameof(wager)); } return(_multipleChoiceBet.GetOutcome( _wagers[wager], new ResultSet(new[] { actualResults }))); }
/// <inheritdoc /> public IOutcome GetOutcome(TResults actualResults) { return(_bet.GetOutcome(this, actualResults)); }