Interface ICurrentSeasonInfo
- Namespace
- Sportradar.OddsFeed.SDK.Entities.Rest
- Assembly
- Sportradar.OddsFeed.SDK.dll
Defines a contract implemented by classes providing information about current season
public interface ICurrentSeasonInfo
Properties
Competitors
Gets the list of competitors
IEnumerable<ICompetitor> Competitors { get; }
Property Value
- IEnumerable<ICompetitor>
The list of competitors
Coverage
Gets the ISeasonCoverage instance containing information about coverage available for the season associated with the current instance
ISeasonCoverage Coverage { get; }
Property Value
- ISeasonCoverage
The ISeasonCoverage instance containing information about coverage available for the season associated with the current instance
CurrentRound
Gets the IRound specifying the current round of the tournament associated with the current instance
IRound CurrentRound { get; }
Property Value
- IRound
The IRound specifying the current round of the tournament associated with the current instance
EndDate
Gets the end date of the season represented by the current instance
DateTime EndDate { get; }
Property Value
- DateTime
The end date.
Groups
Gets the IEnumerable<T> specifying groups of tournament associated with the current instance
IEnumerable<IGroup> Groups { get; }
Property Value
- IEnumerable<IGroup>
The IEnumerable<T> specifying groups of tournament associated with the current instance
Id
Gets a Urn uniquely identifying the current season
Urn Id { get; }
Property Value
Names
Gets a IReadOnlyDictionary<TKey, TValue> containing names of the season in different languages
IReadOnlyDictionary<CultureInfo, string> Names { get; }
Property Value
Schedule
Gets the list of all ICompetition that belongs to the season schedule
IEnumerable<ISportEvent> Schedule { get; }
Property Value
- IEnumerable<ISportEvent>
The list of all ICompetition that belongs to the season schedule
StartDate
Gets the start date of the season represented by the current instance
DateTime StartDate { get; }
Property Value
Year
Gets a string representation of the current season year
string Year { get; }
Property Value
Methods
GetName(CultureInfo)
Gets the season name in the specified languages
string GetName(CultureInfo culture)
Parameters
cultureCultureInfoA CultureInfo specifying the language of the returned name.
Returns
- string
The season name in the specified languages.