public static TomlString AddValue(this TomlTable table, string key, string value) { var s = table.CreateAttachedValue(value); table.AddRow(new TomlKey(key), table.CreateAttachedValue(value)); return(s); }
public static TomlInt AddValue(this TomlTable table, string key, long value) { var i = table.CreateAttachedValue(value); table.AddRow(new TomlKey(key), i); return(i); }
public static TomlBool AddValue(this TomlTable table, string key, bool value) { var b = table.CreateAttachedValue(value); table.AddRow(new TomlKey(key), b); return(b); }
public static TomlTimeSpan AddValue(this TomlTable table, string key, TimeSpan timeSpan) { var ts = table.CreateAttachedValue(timeSpan); table.AddRow(new TomlKey(key), ts); return(ts); }
public static TomlDateTime AddValue(this TomlTable table, string key, DateTimeOffset dateTime) { var dt = table.CreateAttachedValue(dateTime); table.AddRow(new TomlKey(key), dt); return(dt); }
public static TomlFloat AddValue(this TomlTable table, string key, double value) { var f = table.CreateAttachedValue(value); table.AddRow(new TomlKey(key), f); return(f); }