Interface IBaseEntity
- Namespace
- Sportradar.OddsFeed.SDK.Entities.Rest
- Assembly
- Sportradar.OddsFeed.SDK.dll
Defines a contract for classes implementing basic entity information, containing Id as Urn and translatable Name
public interface IBaseEntity : IEntityPrinter
- Inherited Members
Properties
Id
Gets the Urn identifying the current instance
Urn Id { get; }
Property Value
Names
Gets the list of translated names
IReadOnlyDictionary<CultureInfo, string> Names { get; }
Property Value
- IReadOnlyDictionary<CultureInfo, string>
The list of translated names
Methods
GetName(CultureInfo)
Gets the name associated with this instance in specific language
string GetName(CultureInfo culture)
Parameters
cultureCultureInfoThe language used to get the name
Returns
- string
Name if available in specified language or null