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
Coordinates
Gets a map coordinates specifying the exact location of the venue represented by current IVenue instance
string Coordinates { get; }
Property Value
Countries
Gets a IReadOnlyDictionary<TKey, TValue> containing venue's country names in different languages
IReadOnlyDictionary<CultureInfo, string> Countries { get; }
Property Value
CountryCode
Gets a country code of the venue represented by current IVenue instance
string CountryCode { get; }
Property Value
Courses
Gets the list of courses
IEnumerable<ICourse> Courses { get; }
Property Value
- IEnumerable<ICourse>
The list of courses
Id
Urn Id { get; }
Property Value
Names
Gets a IReadOnlyDictionary<TKey, TValue> containing venue's names in different languages
IReadOnlyDictionary<CultureInfo, string> Names { get; }
Property Value
State
Gets a state of the venue represented by current IVenue instance
string State { get; }
Property Value
Methods
GetCity(CultureInfo)
Gets the city name for specific locale
string GetCity(CultureInfo culture)
Parameters
cultureCultureInfoThe 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
cultureCultureInfoThe culture
Returns
- string
Return the country name if exists, or null
GetName(CultureInfo)
Gets the name for specific locale
string GetName(CultureInfo culture)
Parameters
cultureCultureInfoThe culture
Returns
- string
Return the name if exists, or null