Click or drag to resize

AppConfigWrapper Class

Problem is that users cache the ISdkConfiguration instance they get, and app.config is a bit awkward as a new instance has to be obtained all the time using GetSection(). This is a wrapper so that the underlying section can change, but the client has just this instance cached.
Inheritance Hierarchy
SystemObject
  Sportradar.SDK.Services.SdkConfigurationAppConfigWrapper

Namespace: Sportradar.SDK.Services.SdkConfiguration
Assembly: SdkConfiguration (in SdkConfiguration.dll) Version: 2.28.0.0
Syntax
C#
public class AppConfigWrapper : ISdkConfiguration

The AppConfigWrapper type exposes the following members.

Constructors
 NameDescription
Public methodAppConfigWrapperInitializes a new instance of the AppConfigWrapper class
Top
Properties
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodReload 
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventOnConfigurationReloaded 
Top
See Also