An IConfig with adapter support that uses the filesystem to store/retrieve its configuration value.
Notes: This class will ensure the directory for the file exists.
This class will always create a backup ".bak" before every write attempt. It however does not attempt to restore this file in the event of an error.
If this class' config file doesn't exist, then load is no-op, leaving the value as For.init
The docs for isConfigAdapterFor to learn more about configs with adapter support.
addFileConfig
See Implementation
An IConfig with adapter support that uses the filesystem to store/retrieve its configuration value.
Notes: This class will ensure the directory for the file exists.
This class will always create a backup ".bak" before every write attempt. It however does not attempt to restore this file in the event of an error.
If this class' config file doesn't exist, then load is no-op, leaving the value as For.init