<PackageReference Include="Relativity.Server.Import.SDK" Version="2.9.2" />

AppSettingAttribute

Represents an application setting property-based attribute. This class cannot be inherited.
public object DefaultValue { get; }

Gets the default value.

public bool IsMapped { get; }

Gets a value indicating whether the associated setting is mapped to an App.Config setting.

public string Key { get; }

Gets the name of the key for this individual setting. This corresponds with the key found in the app.config file.

public string Section { get; }

Gets the application settings configuration section.

Initializes a new instance of the AppSettingAttribute class.

public AppSettingAttribute(string section, string key)

Initializes a new instance of the AppSettingAttribute class.

public AppSettingAttribute(string section, string key, object defaultValue)

Initializes a new instance of the AppSettingAttribute class.

public AppSettingAttribute(bool mapped, string section, string key, object defaultValue)

Initializes a new instance of the AppSettingAttribute class.