TomlFile<T>

Namespace: uModIO

Assembly: uMod.Core.dll

Inheritance ObjectDataFileTomlFile TomlFile

Implements IDataFile, IDataObject, IDataFile<T>

Summary

Represents a generic TOML file

Constructors

Name

Summary

TomlFile (String)

Create a new TOML file

TomlFile (String, Type, T)

TomlFile (String, T)

Properties

Name

Summary

Object

Generic object data

ObjectType

Object type

Methods

Name

Summary

As<TConvert> ()

Converts data file to specified type

Convert (DataFormat)

Convert TOML file to specified data format

Convert<TDataFile> (DataFormat)

Converts data file to specified data format with data file cast

FromString (String)

Deserialize object from TOML string

LoadAsync ()

Load TOML file asynchronously

LoadFile ()

SaveAsync ()

Save TOML file asynchronously

SaveFile ()

ToString ()

Serialize object as TOML string