Class MorpheoConfigManager
Manages the loading and saving of the runtime configuration.
Inherited Members
Namespace: Morpheo.Core.Configuration
Assembly: Morpheo.Core.dll
Syntax
public class MorpheoConfigManager
Constructors
| Edit this page View SourceMorpheoConfigManager()
Declaration
public MorpheoConfigManager()
Methods
| Edit this page View SourceLoad()
Loads the configuration from the JSON file.
Declaration
public RuntimeConfig Load()
Returns
| Type | Description |
|---|---|
| RuntimeConfig | The runtime configuration. |
Save(RuntimeConfig)
Saves the configuration to the JSON file.
Declaration
public void Save(RuntimeConfig config)
Parameters
| Type | Name | Description |
|---|---|---|
| RuntimeConfig | config | The configuration to save. |