Class Schedule
Assembly: BaseballSharp.dll
Syntax
Properties
|
Edit this page
View Source
AwayTeam
Declaration
public string? AwayTeam { get; set; }
Property Value
|
Edit this page
View Source
Ballpark
The stadium that the team is playing at.
Declaration
public string? Ballpark { get; set; }
Property Value
|
Edit this page
View Source
HomeTeam
Declaration
public string? HomeTeam { get; set; }
Property Value
|
Edit this page
View Source
ScheduledInnings
The number of innings scheduled for the game.
Declaration
public int? ScheduledInnings { get; set; }
Property Value
|
Edit this page
View Source
StatusCode
The status of the game. A few possible codes are "F" for Final, "I" for In Progress,
"IR" for Delayed, "P" for Pre-game, and "S" for Sceduled.
Declaration
public GameStatus? StatusCode { get; set; }
Property Value
|
Edit this page
View Source
gameID
Declaration
public int? gameID { get; set; }
Property Value
Methods
|
Edit this page
View Source
GetStatusCode(string?)
Gets the GameStatus enum value based on the provided status code string.
Declaration
public static GameStatus? GetStatusCode(string? statusCode)
Parameters
Type |
Name |
Description |
string |
statusCode |
The status code string.
|
Returns
Type |
Description |
GameStatus? |
The corresponding GameStatus enum value, or null if the status code is unknown.
|