Click or drag to resize

IPlayerProfile Interface

Defines a contract implemented by classes representing a player profile

Namespace: Sportradar.OddsFeed.SDK.Entities.REST
Assembly: Sportradar.OddsFeed.SDK.Entities.REST (in Sportradar.OddsFeed.SDK.Entities.REST.dll) Version: 1.59.0.0 (1.59.0.0)
Syntax
C#
public interface IPlayerProfile : IPlayer, 
	IEntityPrinter

The IPlayerProfile type exposes the following members.

Properties
 NameDescription
Public propertyDateOfBirth Gets a DateTime specifying the date of birth of the player associated with the current instance
Public propertyHeight Gets the height in centimeters of the player represented by the current instance or a null reference if height is not known
Public propertyId Gets the URN uniquely identifying the current ICompetitor instance
(Inherited from IPlayer)
Public propertyNames Gets a IReadOnlyDictionaryTKey, TValue containing player names in different languages
(Inherited from IPlayer)
Public propertyNationalities Gets a IReadOnlyDictionaryTKey, TValue containing player nationality in different languages
Public propertyType Gets a value describing the type(e.g. forward, defense, ...) of the player represented by current instance
Public propertyWeight Gets the weight in kilograms of the player represented by the current instance or a null reference if weight is not known
Top
Methods
 NameDescription
Public methodGetName Gets the name of the player in the specified language or a null reference
(Inherited from IPlayer)
Public methodGetNationality Gets the nationality of the player represented by the current instance in the language specified by
C#
culture
Public methodToString Returns a String that represents this instance.
(Inherited from IEntityPrinter)
Public methodToString(IFormatProvider) Returns a string that represents the current object
(Inherited from IEntityPrinter)
Public methodToString(String, IFormatProvider)Formats the value of the current instance using the specified format.
(Inherited from IEntityPrinter)
Top
See Also