Table of Contents

Interface IEventMessage<T>

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

Defines a contract implemented by all messages associated with sport events

public interface IEventMessage<out T> : IMessage where T : ISportEvent

Type Parameters

T

A ISportEvent derived type used to describe the sport event associated with the fixture change

Inherited Members

Properties

Event

Gets a ISportEvent derived instance representing the sport event associated with the current message

[SuppressMessage("Naming", "CA1716:Identifiers should not match keywords", Justification = "Allowed - not to introduce breaking change")]
T Event { get; }

Property Value

T

RawMessage

Gets the raw message

byte[] RawMessage { get; }

Property Value

byte[]

The raw message

RequestId

Get the id of the request which triggered the current IEventMessage<T> message or a null reference if no requestId was provided to the request

long? RequestId { get; }

Property Value

long?