C# Class Tennis.TennisSet

Inheritance: ScoringContext
Show file Open project: rasmuskl/ReSharperCourse Class Usage Examples

Public Methods

Method Description
AddPoint ( Party party ) : void
GetSetScore ( Party party ) : int
TennisSet ( ITournamentRules tournamentRules, Party partyA, Party partyB, ISetState>.Func setStateFactory ) : System

Method Details

AddPoint() public method

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

GetSetScore() public method

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

TennisSet() public method

public TennisSet ( ITournamentRules tournamentRules, Party partyA, Party partyB, ISetState>.Func setStateFactory ) : System
tournamentRules ITournamentRules
partyA Party
partyB Party
setStateFactory ISetState>.Func
return System