Click or drag to resize

IMarketWithOdds Interface

Defines a contract implemented by classes providing odds information for betting markets

Namespace: Sportradar.OddsFeed.SDK.Entities
Assembly: Sportradar.OddsFeed.SDK.Entities (in Sportradar.OddsFeed.SDK.Entities.dll) Version: 1.59.0.0 (1.59.0.0)
Syntax
C#
public interface IMarketWithOdds : IMarket

The IMarketWithOdds type exposes the following members.

Properties
 NameDescription
Public propertyAdditionalInfo Gets the IReadOnlyDictionaryTKey, TValue containing additional market information
(Inherited from IMarket)
Public propertyCashoutStatus Gets a CashoutStatus enum member specifying the availability of cashout, or a null reference
Public propertyId Gets a Int32 value specifying the market type
(Inherited from IMarket)
Public propertyIsFavorite Gets a value indicating whether the market associated with the current instance is the favorite market (i.e. the one with most balanced odds)
Public propertyMarketDefinition Gets the associated market definition instance
(Inherited from IMarket)
Public propertyMarketMetadata Gets the market metadata which contains the additional market information
Public propertyOutcomeOdds Gets an IEnumerableT where each IOutcomeOdds instance provides odds information for one outcome(selection)
Public propertySpecifiers Gets a IReadOnlyDictionaryTKey, TValue containing market specifiers
(Inherited from IMarket)
Public propertyStatus Gets a MarketStatus enum member specifying the status of the market associated with the current IMarketWithOdds instance
Top
Methods
 NameDescription
Public methodGetMappedMarketIdAsyncObsolete.
Asynchronously gets the mapping Id of the specified market
(Inherited from IMarket)
Public methodCode exampleGetMappedMarketIdsAsync Asynchronously gets the mapping Ids of the specified market
(Inherited from IMarket)
Public methodGetNameAsync Asynchronously gets the name of the market in the specified language
(Inherited from IMarket)
Top
See Also