/// <summary> /// Add a result to the set. /// </summary> /// <param name="winner"></param> /// <param name="loser"></param> public void AddResult(Rating winner, Rating loser) { var result = new Result(winner, loser); _results.Add(result); }
/// <summary> /// Record a draw between two players and add to the set. /// </summary> /// <param name="player1"></param> /// <param name="player2"></param> public void AddDraw(Rating player1, Rating player2) { var result = new Result(player1, player2, true); _results.Add(result); }