DynamicConfigFile

Namespace: uModConfiguration

Assembly: uMod.Core.dll

Inheritance ObjectConfigFile DynamicConfigFile

Implements IEnumerable<KeyValuePair<String, Object>>, IEnumerable

Summary

Represents a config file with a dynamic layout

Constructors

Name

Summary

DynamicConfigFile (String)

Properties

Name

Summary

Item [ String ]

Gets or sets a setting on this config by key

Item [ String ]

Gets or sets a setting on this config by key

Item [ String ]

Gets or sets a setting on this config by key

Settings

Methods

Name

Summary

Clear ()

Clears this config

Exists (String)

Checks if the file or specified file exists

FromString (String)

Imports raw JSON into object

Get (String[])

Gets a configuration value at the specified path

Get<T> (String[])

Gets a configuration value at the specified path and converts it to the specified type

GetEnumerator ()

Load (String)

Loads this config from the specified file

LoadAsync (String)

Loads this config from the specified file

ReadObject<T> (String)

Loads this config from the specified file

ReadObjectAsync<T> (String)

Loads this config from the specified file

Remove (String)

Save (String)

Saves this config to the specified file

SaveAsync (String)

Saves this config to the specified file asynchronously

Set (Object[])

Sets a configuration value at the specified path

ToString ()

Converts object contents to JSON

WriteObject<T> (T, Boolean, String)

Saves the specified object to the specified file

WriteObjectAsync<T> (T, Boolean, String)

Saves the specified object to the specified file asynchronously