Table of Contents

Interface IOutcome

Namespace
Sportradar.OddsFeed.SDK.Entities
Assembly
Sportradar.OddsFeed.SDK.dll

Represent a betting market outcome

public interface IOutcome

Properties

Id

Gets the value uniquely identifying the current instance

string Id { get; }

Property Value

string

OutcomeDefinition

Gets the associated outcome definition instance

IOutcomeDefinition OutcomeDefinition { get; }

Property Value

IOutcomeDefinition

Methods

GetMappedOutcomeIdsAsync()

Asynchronously gets the mapping Ids of the specified outcome

Task<IEnumerable<IOutcomeMapping>> GetMappedOutcomeIdsAsync()

Returns

Task<IEnumerable<IOutcomeMapping>>

Returns the mapping Ids of the specified outcome

GetNameAsync(CultureInfo)

Asynchronously gets the name of the outcome in the specified language

Task<string> GetNameAsync(CultureInfo culture)

Parameters

culture CultureInfo

A CultureInfo specifying the language in which to get the name

Returns

Task<string>

A Task<TResult> representing the async operation