Table of Contents

Interface IMarketDescription

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

Defines a contract implemented by classes representing market description

public interface IMarketDescription

Properties

Attributes

Gets the IEnumerable<T> representing market attributes providing additional information about the market.

IEnumerable<IMarketAttribute> Attributes { get; }

Property Value

IEnumerable<IMarketAttribute>

Groups

Gets a list of groups to which the market belongs to

IEnumerable<string> Groups { get; }

Property Value

IEnumerable<string>

Id

Gets the id of the market described by the current instance

long Id { get; }

Property Value

long

Mappings

Gets the IEnumerable<T> representing the mappings of the market described by the current instance

IEnumerable<IMarketMappingData> Mappings { get; }

Property Value

IEnumerable<IMarketMappingData>

OutcomeType

Gets the outcome_type market attribute - an indication of which type of outcomes the market includes

string OutcomeType { get; }

Property Value

string

Outcomes

Gets the IEnumerable<T> describing the outcomes of the market described by the current instance

IEnumerable<IOutcomeDescription> Outcomes { get; }

Property Value

IEnumerable<IOutcomeDescription>

Specifiers

Gets the IEnumerable<T> representing the specifiers of the market described by the current instance

IEnumerable<ISpecifier> Specifiers { get; }

Property Value

IEnumerable<ISpecifier>

Methods

GetDescription(CultureInfo)

Gets the description of the market description in the language specified by the passed culture

string GetDescription(CultureInfo culture)

Parameters

culture CultureInfo

A CultureInfo specifying the language of the retrieved description

Returns

string

Returns the description of the market description in the language specified by the passed culture

GetName(CultureInfo)

Gets the name of the market description in the language specified by the passed culture

string GetName(CultureInfo culture)

Parameters

culture CultureInfo

A CultureInfo specifying the language of the retrieved name

Returns

string

Returns the name in specific language