C# Class _20.StartingLineups

Show file Open project: jdharms/20-20

Public Properties

Property Type Description
awayTeam List>.Dictionary
homeTeam List>.Dictionary
time string

Public Methods

Method Description
StartingLineups ( ) : System
addStarter ( bool isHome, string playerId ) : bool

Adds a player to the StartingLineups object. Does *not* make sure only five are set.

pack ( string timeStamp ) : bool

Method Details

StartingLineups() public method

public StartingLineups ( ) : System
return System

addStarter() public method

Adds a player to the StartingLineups object. Does *not* make sure only five are set.
public addStarter ( bool isHome, string playerId ) : bool
isHome bool true iff the player plays for the home team.
playerId string The unique id for the player
return bool

pack() public method

public pack ( string timeStamp ) : bool
timeStamp string
return bool

Property Details

awayTeam public property

public Dictionary> awayTeam
return List>.Dictionary

homeTeam public property

public Dictionary> homeTeam
return List>.Dictionary

time public property

public string time
return string