Table of Contents

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

Urn

The Urn identifying the current instance

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

culture CultureInfo

The language used to get the name

Returns

string

Name if available in specified language or null