C# Class Tennis.TennisMatch

Inheritance: ScoringContext
Afficher le fichier Open project: rasmuskl/ReSharperCourse Class Usage Examples

Méthodes publiques

Méthode Description
AddPoint ( Party party ) : void
GetMatchScore ( Party party ) : int
GetSetScore ( Party party ) : int
TennisMatch ( ITournamentRules tournamentRules, IMatchState>.Func matchStateFactory ) : System

Method Details

AddPoint() public méthode

public AddPoint ( Party party ) : void
party Party
Résultat void

GetMatchScore() public méthode

public GetMatchScore ( Party party ) : int
party Party
Résultat int

GetSetScore() public méthode

public GetSetScore ( Party party ) : int
party Party
Résultat int

TennisMatch() public méthode

public TennisMatch ( ITournamentRules tournamentRules, IMatchState>.Func matchStateFactory ) : System
tournamentRules ITournamentRules
matchStateFactory IMatchState>.Func
Résultat System