Table of Contents

Interface ISeason

Namespace
Sportradar.OddsFeed.SDK.Entities.Rest
Assembly
Sportradar.OddsFeed.SDK.dll

Defines a contract implemented by classes representing a tournament season

public interface ISeason : ILongTermEvent, ISportEvent
Inherited Members

Methods

GetCompetitorsAsync()

Asynchronously gets the list of competitors

Task<IEnumerable<ICompetitor>> GetCompetitorsAsync()

Returns

Task<IEnumerable<ICompetitor>>

The list of competitors

GetCurrentRoundAsync()

Asynchronously gets the IRound specifying the current round of the tournament associated with the current instance

Task<IRound> GetCurrentRoundAsync()

Returns

Task<IRound>

The IRound specifying the current round of the tournament associated with the current instance

GetGroupsAsync()

Asynchronously gets the list of the IGroup instances belonging to the season

Task<IEnumerable<IGroup>> GetGroupsAsync()

Returns

Task<IEnumerable<IGroup>>

A Task representing the asynchronous operation

GetScheduleAsync()

Asynchronously gets the list of all ICompetition that belongs to the season schedule

Task<IEnumerable<ICompetition>> GetScheduleAsync()

Returns

Task<IEnumerable<ICompetition>>

The list of all ICompetition that belongs to the season schedule

GetSeasonCoverageAsync()

Asynchronously gets a ISeasonCoverage representing the season coverage

Task<ISeasonCoverage> GetSeasonCoverageAsync()

Returns

Task<ISeasonCoverage>

A Task<TResult> representing the asynchronous operation

GetTournamentInfoAsync()

Asynchronously gets a ITournamentInfo representing the tournament info

Task<ITournamentInfo> GetTournamentInfoAsync()

Returns

Task<ITournamentInfo>

A Task<TResult> representing the asynchronous operation

GetYearAsync()

Asynchronously gets a string representation of the current season year

Task<string> GetYearAsync()

Returns

Task<string>

Asynchronously returns a string representation of the season year