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
[DataMember]
Urn Id { get; }
Property Value
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
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.