Table of Contents

Interface IGoalScorer

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

Defines a contract implemented by classes representing goal scorer in a sport event

public interface IGoalScorer : IEntityPrinter
Inherited Members

Properties

Id

Gets the Urn uniquely identifying the current IPlayer instance

[DataMember]
Urn Id { get; }

Property Value

Urn

Method

Gets the method value

string Method { get; }

Property Value

string

The method value

Remarks

The attribute can assume values such as 'penalty' and 'own goal'. In case the attribute is not inserted, then the goal is not own goal neither penalty.

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.