C# Class Tennis.TennisMatch

Inheritance: ScoringContext
Mostrar archivo Open project: rasmuskl/ReSharperCourse Class Usage Examples

Public Methods

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

Method Details

AddPoint() public method

public AddPoint ( Party party ) : void
party Party
return void

GetMatchScore() public method

public GetMatchScore ( Party party ) : int
party Party
return int

GetSetScore() public method

public GetSetScore ( Party party ) : int
party Party
return int

TennisMatch() public method

public TennisMatch ( ITournamentRules tournamentRules, IMatchState>.Func matchStateFactory ) : System
tournamentRules ITournamentRules
matchStateFactory IMatchState>.Func
return System