Show / Hide Table of Contents

Class Schedule

Inheritance
object
Schedule
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: BaseballSharp.Models
Assembly: BaseballSharp.dll
Syntax
public class Schedule

Properties

| Edit this page View Source

AwayTeam

Declaration
public string? AwayTeam { get; set; }
Property Value
Type Description
string
| Edit this page View Source

Ballpark

The stadium that the team is playing at.

Declaration
public string? Ballpark { get; set; }
Property Value
Type Description
string
| Edit this page View Source

HomeTeam

Declaration
public string? HomeTeam { get; set; }
Property Value
Type Description
string
| Edit this page View Source

ScheduledInnings

The number of innings scheduled for the game.

Declaration
public int? ScheduledInnings { get; set; }
Property Value
Type Description
int?
| 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
Type Description
GameStatus?
| Edit this page View Source

gameID

Declaration
public int? gameID { get; set; }
Property Value
Type Description
int?

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.

  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX