HelperFunctionsSettingsManager Class |
Namespace: AHL
The HelperFunctionsSettingsManager type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | AddSetting |
This method will Add a new setting to the Settings file.
If you have not called InitializeSettingsFile() a generic one called "Settings.dat" will be created or opened.
|
![]() ![]() | BackupSettings |
This method will backup the current Settings file into a "bak" file.
|
![]() ![]() | GetSetting |
This method will return a setting from the Settings file.
If you have not called InitializeSettingsFile() a generic one called "Settings.dat" will be created or opened.
|
![]() ![]() | GetSettingLength |
This method will return the number of settings in your Settings file
|
![]() ![]() | GetSettingsDictionary |
This method will return the Dictionary which contains all your settings.
If you have not called InitializeSettingsFile() a generic one called "Settings.dat" will be created or opened.
|
![]() ![]() | InitializeSettingsFile |
This method will initialize a binary setting file for saving your settings.
If you have not called InitializeSettingsFile() a generic one called "Settings.dat" will be created or opened.
|
![]() ![]() | LoadSettings |
This method will load the settings from the Settings file.
This will be calleed automatically each time you Initialize the settings, but will need to be manually called if you want to read from the file.
|
![]() ![]() | RemoveSetting |
This method will Remove a setting from the Settings file.
If you have not called InitializeSettingsFile() a generic one called "Settings.dat" will be created or opened.
|
![]() ![]() | RestoreSettings |
This method will restore the Settings file from the available "bak" file.
|
![]() ![]() | SaveSettings |
This method will save the settings into the chosen binary file.
This will be called automatically each time you add/remove/update.
This shouldn't be called manually, but the option is anyway granted to the user.
|
![]() ![]() | UpdateSetting |
This method will let you update a setting from the Settings file.
If you have not called InitializeSettingsFile() a generic one called "Settings.dat" will be created or opened.
|