Interface IOutcomeDescription
Defines a contract implemented by classes representing betting outcome description
public interface IOutcomeDescription
Properties
Id
Gets a value uniquely identifying the current outcome within the market
string Id { get; }
Property Value
Methods
GetDescription(CultureInfo)
Gets the description of the betting outcome represented by the current instance
string GetDescription(CultureInfo culture)
Parameters
cultureCultureInfoA CultureInfo specifying the language of the retrieved description
Returns
- string
Returns the description of the outcome description in the language specified by the passed
culture
GetName(CultureInfo)
Gets the name of the betting outcome represented by the current instance
string GetName(CultureInfo culture)
Parameters
cultureCultureInfoA CultureInfo specifying the language of the retrieved name
Returns
- string
Returns the name in specific language