AsnaConfigHelper class
Provides helper functions and properties for accessing IAsnaConfig properties encoded in JSON configuration texts.
Namespace: ASNA.Extensions.Configuration Assembly: ASNA.QSys.DataGate.Client.dll
Inheritance: Object
Properties
| Type | Name | Description |
|---|---|---|
| String | DefaultConfigFilePath | Gets the suggested full path name for a “default” configurationfile. |
Methods
| Signature | Description |
|---|---|
| LoadFromJson(Stream) | Returns an instance of IAsnaConfig, given a stream. |
| LoadFromJson(String) | Returns an instance of IAsnaConfig, given a path to aJSON-encoded file. |
| TryLoadFromDefaultFile(IAsnaConfig&) | Gets a configuration from the default file. |