ConfigStore.load
ConfigStore load(string filePath,
CdmDocument.Format fmt = CdmDocument.Format.UNKNOWN) @safeLoad configuration from a file.
Parses the file to CDM, converts to var, then discards CDM to minimize memory usage.
Parameters
filePath | Path to the configuration file |
fmt | Optional format override (auto-detected if UNKNOWN) |
Returns
A ConfigStore with the loaded configuration.
Throws
Exception if the file cannot be read or parsed.