|
Nuke.Unreal
Build Unreal apps in Style.
|
The root class representing Unreal INI configuration. More...
Public Member Functions | |
| ConfigSection | FindOrAdd (string key) |
| Get an existing section or add it if it doesn't exist yet. | |
| void | Merge (ConfigIni from) |
| Compose another ConfigIni instance into this one, overriding existing values and adding new ones. | |
| string | Serialize () |
| Convert this ConfigIni back to something Unreal can read. | |
Static Public Member Functions | |
| static ? ConfigIni | Parse (string? input) |
| Parse an Unreal configuration text into a ConfigIni. | |
Public Attributes | |
| readonly Dictionary< string, ConfigSection > | Sections = new() |
Sections separated by [SectionName] syntax. | |
Properties | |
| ConfigSection? | this[string key] [get] |
| Get a section via its name. | |
The root class representing Unreal INI configuration.
Definition at line 49 of file ConfigIni.cs.
| ConfigSection Nuke.Unreal.Ini.ConfigIni.FindOrAdd | ( | string | key | ) |
Get an existing section or add it if it doesn't exist yet.
| key |
Definition at line 66 of file ConfigIni.cs.
| void Nuke.Unreal.Ini.ConfigIni.Merge | ( | ConfigIni | from | ) |
Compose another ConfigIni instance into this one, overriding existing values and adding new ones.
Definition at line 120 of file ConfigIni.cs.
|
static |
Parse an Unreal configuration text into a ConfigIni.
Definition at line 82 of file ConfigIni.cs.
| string Nuke.Unreal.Ini.ConfigIni.Serialize | ( | ) |
| readonly Dictionary<string, ConfigSection> Nuke.Unreal.Ini.ConfigIni.Sections = new() |
Sections separated by [SectionName] syntax.
Definition at line 54 of file ConfigIni.cs.
|
get |
Get a section via its name.
Definition at line 59 of file ConfigIni.cs.