AsnaConfigHelper.TryLoadFromDefaultFile Method
Definition
Namespace: ASNA.Extensions.Configuration
Assembly: ASNA.QSys.DataGate.Client.dll
Gets a configuration from the default file.
bool TryLoadFromDefaultFile(IAsnaConfig& config)
Gets a configuration from the default file.
bool TryLoadFromDefaultFile(IAsnaConfig& config)
Parameters
| Type | Parameter name | Description |
|---|---|---|
| IAsnaConfig& | config | An IAsnaConfig instance, if the default configuration file named by DefaultConfigFilePath is found, loaded, and parsed. Otherwise, null. |
Returns
| Type | Description |
|---|---|
| Boolean | true if a configuration is loaded from thedefault config file; otherwise false. |