Interface IMarketDescription
Defines a contract implemented by classes representing market description
public interface IMarketDescription
Properties
Attributes
Gets the IEnumerable<T> representing market attributes providing additional information about the market.
IEnumerable<IMarketAttribute> Attributes { get; }
Property Value
Groups
Gets a list of groups to which the market belongs to
IEnumerable<string> Groups { get; }
Property Value
Id
Gets the id of the market described by the current instance
long Id { get; }
Property Value
Mappings
Gets the IEnumerable<T> representing the mappings of the market described by the current instance
IEnumerable<IMarketMappingData> Mappings { get; }
Property Value
OutcomeType
Gets the outcome_type market attribute - an indication of which type of outcomes the market includes
string OutcomeType { get; }
Property Value
Outcomes
Gets the IEnumerable<T> describing the outcomes of the market described by the current instance
IEnumerable<IOutcomeDescription> Outcomes { get; }
Property Value
Specifiers
Gets the IEnumerable<T> representing the specifiers of the market described by the current instance
IEnumerable<ISpecifier> Specifiers { get; }
Property Value
Methods
GetDescription(CultureInfo)
Gets the description of the market description in the language specified by the passed culture
string GetDescription(CultureInfo culture)
Parameters
cultureCultureInfoA CultureInfo specifying the language of the retrieved description
Returns
- string
Returns the description of the market description in the language specified by the passed
culture
GetName(CultureInfo)
Gets the name of the market description in the language specified by the passed culture
string GetName(CultureInfo culture)
Parameters
cultureCultureInfoA CultureInfo specifying the language of the retrieved name
Returns
- string
Returns the name in specific language