Interface IPlayer
- Namespace
- Sportradar.OddsFeed.SDK.Entities.Rest
- Assembly
- Sportradar.OddsFeed.SDK.dll
Defines a contract implemented by classes representing players or racers in a sport event
public interface IPlayer : IEntityPrinter
- Inherited Members
Properties
Id
Gets the Urn uniquely identifying the current ICompetitor instance
[DataMember]
Urn Id { get; }
Property Value
Names
Gets a IReadOnlyDictionary<TKey, TValue> containing player names in different languages
[DataMember]
IReadOnlyDictionary<CultureInfo, string> Names { get; }
Property Value
Methods
GetName(CultureInfo)
Gets the name of the player in the specified language or a null reference
string GetName(CultureInfo culture)
Parameters
cultureCultureInfoA CultureInfo specifying the language of the returned name
Returns
- string
The name of the player in the specified language or a null reference.