Table of Contents

Interface IEnvironmentSelector

Namespace
Sportradar.OddsFeed.SDK.Api.Config
Assembly
Sportradar.OddsFeed.SDK.dll

Defines a contract implemented by classes taking care of the 2nd step when building configuration - selecting the environment.

public interface IEnvironmentSelector

Methods

SelectCustom()

Returns a ICustomConfigurationBuilder allowing the properties to be set to custom values (useful for testing with non-standard AMQP)

ICustomConfigurationBuilder SelectCustom()

Returns

ICustomConfigurationBuilder

A ICustomConfigurationBuilder with properties set to values needed to access replay server

SelectEnvironment(SdkEnvironment)

Returns a IConfigurationBuilder with properties set to values needed to access specified environment

IConfigurationBuilder SelectEnvironment(SdkEnvironment ufEnvironment)

Parameters

ufEnvironment SdkEnvironment

A SdkEnvironment specifying to which environment to connect

Returns

IConfigurationBuilder

A IConfigurationBuilder with properties set to values needed to access production environment

Remarks

For accessing replay or custom server use SelectReplay or SelectCustom

SelectEnvironmentFromConfigFile()

Returns a IConfigurationBuilder with properties set to values needed to access specified environment

IConfigurationBuilder SelectEnvironmentFromConfigFile()

Returns

IConfigurationBuilder

A IConfigurationBuilder with properties set to values needed to access predefined environment

Remarks

For accessing replay or custom server use SelectReplay or SelectCustom

SelectReplay()

Returns a IConfigurationBuilder with properties set to values needed to access replay server

IConfigurationBuilder SelectReplay()

Returns

IConfigurationBuilder

A IConfigurationBuilder with properties set to values needed to access replay server