Table of Contents

Interface IVenue

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

Defines a contract implemented by classes representing a sport event venue

public interface IVenue : IEntityPrinter
Inherited Members

Properties

Capacity

Gets the capacity of the venue associated with current IVenue instance, or a null reference if the capacity is not specified

int? Capacity { get; }

Property Value

int?

Cities

Gets a IReadOnlyDictionary<TKey, TValue> containing venue's city names in different languages

IReadOnlyDictionary<CultureInfo, string> Cities { get; }

Property Value

IReadOnlyDictionary<CultureInfo, string>

Coordinates

Gets a map coordinates specifying the exact location of the venue represented by current IVenue instance

string Coordinates { get; }

Property Value

string

Countries

Gets a IReadOnlyDictionary<TKey, TValue> containing venue's country names in different languages

IReadOnlyDictionary<CultureInfo, string> Countries { get; }

Property Value

IReadOnlyDictionary<CultureInfo, string>

CountryCode

Gets a country code of the venue represented by current IVenue instance

string CountryCode { get; }

Property Value

string

Courses

Gets the list of courses

IEnumerable<ICourse> Courses { get; }

Property Value

IEnumerable<ICourse>

The list of courses

Id

Gets a Urn uniquely identifying the current IVenue instance

Urn Id { get; }

Property Value

Urn

Names

Gets a IReadOnlyDictionary<TKey, TValue> containing venue's names in different languages

IReadOnlyDictionary<CultureInfo, string> Names { get; }

Property Value

IReadOnlyDictionary<CultureInfo, string>

State

Gets a state of the venue represented by current IVenue instance

string State { get; }

Property Value

string

Methods

GetCity(CultureInfo)

Gets the city name for specific locale

string GetCity(CultureInfo culture)

Parameters

culture CultureInfo

The culture

Returns

string

Return the city name if exists, or null

GetCountry(CultureInfo)

Gets the country name for specific locale

string GetCountry(CultureInfo culture)

Parameters

culture CultureInfo

The culture

Returns

string

Return the country name if exists, or null

GetName(CultureInfo)

Gets the name for specific locale

string GetName(CultureInfo culture)

Parameters

culture CultureInfo

The culture

Returns

string

Return the name if exists, or null