Table of Contents

Interface IMarketDefinition

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

Defines methods used to access market definition properties

public interface IMarketDefinition

Methods

GetAttributes()

Returns a dictionary of associated market attributes

IDictionary<string, string> GetAttributes()

Returns

IDictionary<string, string>

A dictionary of associated market attributes

GetGroups()

Returns a list of groups to which the associated market belongs to

IList<string> GetGroups()

Returns

IList<string>

a list of groups to which the associated market belongs to

GetNameTemplate(CultureInfo)

Returns the unmodified market name template

string GetNameTemplate(CultureInfo culture)

Parameters

culture CultureInfo

The culture in which the name template should be provided

Returns

string

The unmodified market name template

GetOutcomeType()

Returns an indication of which kind of outcomes the associated market includes

string GetOutcomeType()

Returns

string

An indication of which kind of outcomes the associated market includes

GetValidMappings()

Returns a list of valid market mappings

IEnumerable<IMarketMappingData> GetValidMappings()

Returns

IEnumerable<IMarketMappingData>

a list of valid market mappings