Table of Contents

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

Urn

Names

Gets a IReadOnlyDictionary<TKey, TValue> containing player names in different languages

[DataMember]
IReadOnlyDictionary<CultureInfo, string> Names { get; }

Property Value

IReadOnlyDictionary<CultureInfo, string>

Methods

GetName(CultureInfo)

Gets the name of the player in the specified language or a null reference

string GetName(CultureInfo culture)

Parameters

culture CultureInfo

A CultureInfo specifying the language of the returned name

Returns

string

The name of the player in the specified language or a null reference.