Class ApplicationConfig
- Namespace
- RadioExt_Helper.config
- Assembly
- RadioExt-Helper.dll
Represents the configuration for the application; replaces the need for a settings file.
All present and future configuration options will be managed via this class.
public sealed class ApplicationConfig
- Inheritance
-
ApplicationConfig
- Inherited Members
Properties
AutoCheckForUpdates
Specifies whether the application should automatically check for updates on startup.
[Config("autoCheckForUpdates", "Specifies whether the application should automatically check for updates on startup.", true)]
public bool AutoCheckForUpdates { get; set; }
Property Value
AutoExportToGame
Specifies whether the application should automatically export the stations to the game directory after exporting to staging.
[Config("autoExportToGame", "Specifies whether the application should automatically export the stations to the game directory after exporting to staging.", null)]
public bool AutoExportToGame { get; set; }
Property Value
BackupCompressionLevel
Specifies the backup compression level to use when zipping the staging folder.
[Config("backupCompressionLevel", "Specifies the backup compression level to use when zipping the staging folder.", CompressionLevel.Normal)]
public CompressionLevel BackupCompressionLevel { get; set; }
Property Value
CopySongFilesToBackup
Specifies whether the application should automatically copy the song files when creating a backup of the staging folder.
[Config("copySongFilesToBackup", "Specifies whether the application should copy the song files when creating a backup of the staging folder.", true)]
public bool CopySongFilesToBackup { get; set; }
Property Value
DefaultSongLocation
Specifies the default location for song files that have been imported from a station .zip or .rar file.
[Config("defaultSongLocation", "Specifies the default location for song files that have been imported from a station .zip or .rar file.", null)]
public string DefaultSongLocation { get; set; }
Property Value
ForbiddenKeywords
The list of forbidden keywords and whether they are enabled or not.
[Config("forbiddenKeywords", "The list of forbidden keywords and whether they are enabled or not.", null)]
public List<ForbiddenKeyword> ForbiddenKeywords { get; set; }
Property Value
GameBasePath
Specifies the path to the game directory where the radio stations are exported.
[Config("gameBasePath", "The path to the game directory where the radio stations are exported.", "")]
public string GameBasePath { get; set; }
Property Value
IsFirstRun
Specifies whether the application is running for the first time.
[Config("isFirstRun", "Specifies whether the application is running for the first time.", true)]
public bool IsFirstRun { get; set; }
Property Value
Language
The currently selected language for the application.
[Config("language", "The currently selected language for the application.", "English (en)")]
public string Language { get; set; }
Property Value
LogOptions
The log options for the application.
[Config("logOptions", "The log options for the application.", null)]
public LogOptions LogOptions { get; set; }
Property Value
- LogOptions
NexusApiKey
The encrypted API key for accessing the Nexus API.
[Config("nexusApiKey", "The encrypted API key for accessing the Nexus API.", "")]
public string NexusApiKey { get; set; }
Property Value
StagingPath
Specifies the path to the staging directory where the radio stations are temporarily stored.
[Config("stagingPath", "The path to the staging directory where the radio stations are temporarily stored.", "")]
public string StagingPath { get; set; }
Property Value
WatchForGameChanges
Specifies whether the application should automatically watch for changes in the game's radios directory.
[Config("watchForGameChanges", "Specifies whether the application should automatically watch for changes in the game's radios directory.", true)]
public bool WatchForGameChanges { get; set; }
Property Value
WindowSize
The window size of the application.
[Config("windowSize", "The window size of the application.", null)]
public WindowSize WindowSize { get; set; }