Click or drag to resize

IConfigurationBuilder Interface

Defines a contract implemented by classes used to set general configuration properties

Namespace: Sportradar.OddsFeed.SDK.API
Assembly: Sportradar.OddsFeed.SDK.API (in Sportradar.OddsFeed.SDK.API.dll) Version: 1.59.0.0 (1.59.0.0)
Syntax
C#
public interface IConfigurationBuilder : IRecoveryConfigurationBuilder<IConfigurationBuilder>, 
	IConfigurationBuilderBase<IConfigurationBuilder>

The IConfigurationBuilder type exposes the following members.

Methods
 NameDescription
Public methodBuild Builds and returns a IOddsFeedConfiguration instance
(Inherited from IConfigurationBuilderBaseT)
Public methodLoadFromConfigFile Sets the general configuration properties to values read from configuration file. Only value which can be set through IConfigurationBuilderBaseT methods are set. Any values already set by methods on the current instance are overridden
(Inherited from IConfigurationBuilderBaseT)
Public methodSetAdjustAfterAge Sets the value indicating whether the after age should be adjusted before executing recovery request
(Inherited from IRecoveryConfigurationBuilderT)
Public methodSetDefaultLanguage Sets the default language in which translatable data is available
(Inherited from IConfigurationBuilderBaseT)
Public methodSetDisabledProducers Specifies the producers which should be disabled (i.e. no recovery, ...)
(Inherited from IConfigurationBuilderBaseT)
Public methodSetExceptionHandlingStrategy Sets the value specifying how exceptions thrown in the SDK are handled.
(Inherited from IConfigurationBuilderBaseT)
Public methodSetHttpClientTimeout Sets the timeout for HTTP responses for this instance of the sdk
(Inherited from IConfigurationBuilderBaseT)
Public methodSetInactivitySeconds Sets the max time window between two consecutive alive messages before the associated producer is marked as down
(Inherited from IRecoveryConfigurationBuilderT)
Public methodSetMaxRecoveryTime Sets the maximum time in seconds in which recovery must be completed (minimum 600 seconds)
(Inherited from IRecoveryConfigurationBuilderT)
Public methodSetMinIntervalBetweenRecoveryRequests Sets the minimal interval between recovery requests initiated by alive messages (between 20 and 180 seconds)
(Inherited from IRecoveryConfigurationBuilderT)
Public methodSetNodeId Sets the node id used to separate between SDK instances associated with the same account
(Inherited from IConfigurationBuilderBaseT)
Public methodSetRecoveryHttpClientTimeout Sets the timeout for recovery HTTP responses for this instance of the sdk
(Inherited from IRecoveryConfigurationBuilderT)
Public methodSetSupportedLanguages Sets the languages in which translatable data is available
(Inherited from IConfigurationBuilderBaseT)
Top
Remarks
Types associated with IConfigurationBuilder represent a re-factored approach to building SDK configuration and therefore make IConfigurationBuilder related instances obsolete. The IConfigurationBuilder and related instances cannot be removed in order not to introduce braking changes.
See Also