Table of Contents

Class SdkConfigurationDynamic

Namespace
Sportradar.LiveData.Sdk.Services.SdkConfiguration.Sections
Assembly
Sportradar.LiveData.Sdk.dll
public class SdkConfigurationDynamic : ConfigurationElement
Inheritance
SdkConfigurationDynamic
Inherited Members

Constructors

SdkConfigurationDynamic()

protected SdkConfigurationDynamic()

Properties

BookmakerId

Bookmaker id

[ConfigurationProperty("BookmakerId", IsRequired = false, DefaultValue = null)]
[CallbackValidator(Type = typeof(PropertyValidators), CallbackMethodName = "ValidateNullableInt")]
public int? BookmakerId { get; protected set; }

Property Value

int?

Remarks

This one will override the common settings.

HttpResponseTimeout

Time to wait for the HTTP request to complete.

[ConfigurationProperty("HttpResponseTimeout", IsRequired = false, DefaultValue = "00:00:30")]
[PositiveTimeSpanValidator]
public TimeSpan HttpResponseTimeout { get; protected set; }

Property Value

TimeSpan

HttpUrl

HTTP URL can have {ID}, {NS} and {VER} placeholders, else id=.., ver=.. and ns=.. query parameters are appended to the URL Example: "http://localhost:8080/abc"

[ConfigurationProperty("HttpUrl", IsRequired = false, DefaultValue = null)]
[DynamicConfigItem]
public string HttpUrl { get; protected set; }

Property Value

string

Remarks

ID means bookmaker ID, either common or local setting NS means namespace (usually: Sportradar.SDK, so config server can store configuration for multiple types of clients) VER means SDK (assembly) version

IsInitialized

Is section initialized?

public bool IsInitialized { get; }

Property Value

bool

MaxFetchInterval

Max fetch interval

[ConfigurationProperty("MaxFetchInterval", IsRequired = false, DefaultValue = "01:00:00")]
[DynamicConfigItem]
public TimeSpan MaxFetchInterval { get; protected set; }

Property Value

TimeSpan

MinFetchInterval

Min fetch interval

[ConfigurationProperty("MinFetchInterval", IsRequired = false, DefaultValue = "01:00:00")]
[DynamicConfigItem]
public TimeSpan MinFetchInterval { get; protected set; }

Property Value

TimeSpan

SSLThumbprint

Optional SSL server certificate thumbprint

[ConfigurationProperty("SSLThumbprint", IsRequired = false, DefaultValue = null)]
[DynamicConfigItem]
public string SSLThumbprint { get; protected set; }

Property Value

string

Methods

IsReadOnly()

Override of ConfigurationElement.IsReadOnly, always returns false.

public override bool IsReadOnly()

Returns

bool

false