Interface ISportEvent
- Namespace
- Sportradar.OddsFeed.SDK.Entities.Rest
- Assembly
- Sportradar.OddsFeed.SDK.dll
Defines a contract implemented by classes representing the target(tournament, match, race) of feed messages
public interface ISportEvent
Properties
Id
Gets a Urn uniquely identifying the sport event associated with the current instance
Urn Id { get; }
Property Value
Methods
GetNameAsync(CultureInfo)
Asynchronously gets the name of the sport event
Task<string> GetNameAsync(CultureInfo culture)
Parameters
cultureCultureInfoA CultureInfo specifying the language of the returned name
Returns
GetReplacedByAsync()
Asynchronously gets a Urn specifying the replacement sport event for the associated sport event.
Task<Urn> GetReplacedByAsync()
Returns
GetScheduledEndTimeAsync()
Asynchronously gets a DateTime instance specifying for when the sport event associated with the current instance is scheduled to end or a null reference if the value is not known
Task<DateTime?> GetScheduledEndTimeAsync()
Returns
- Task<DateTime?>
A Task<TResult> representing the retrieval operation
GetScheduledTimeAsync()
Asynchronously gets a DateTime instance specifying for when the sport event associated with the current instance is scheduled or a null reference if the value is not known
Task<DateTime?> GetScheduledTimeAsync()
Returns
- Task<DateTime?>
A Task<TResult> representing the retrieval operation
GetSportIdAsync()
Asynchronously gets a Urn uniquely identifying the sport associated with the current instance
Task<Urn> GetSportIdAsync()
Returns
GetStartTimeTbdAsync()
Asynchronously gets a value specifying if the start time to be determined is set for the associated sport event.
Task<bool?> GetStartTimeTbdAsync()