Table of Contents

Interface IDraw

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

Defines a contract implemented by classes, which represent information about a lottery draw

public interface IDraw : ISportEvent
Inherited Members

Methods

GetDisplayIdAsync()

Asynchronously gets a int representing display id

Task<int?> GetDisplayIdAsync()

Returns

Task<int?>

The display id

GetLotteryIdAsync()

Asynchronously gets a Urn representing id of the associated ILottery

Task<Urn> GetLotteryIdAsync()

Returns

Task<Urn>

The id of the associated lottery

GetResultsAsync()

Asynchronously gets IEnumerable<T> list of associated IDrawResult

Task<IEnumerable<IDrawResult>> GetResultsAsync()

Returns

Task<IEnumerable<IDrawResult>>

A Task<TResult> representing an async operation

GetStatusAsync()

Asynchronously gets DrawStatus associated with the current instance

Task<DrawStatus> GetStatusAsync()

Returns

Task<DrawStatus>

A Task<TResult> representing an async operation