// Table Array public static TomlTableArray Add <T>( this TomlTable table, string key, IEnumerable <T> tableArray, TomlTable.TableTypes tableType = TomlTable.TableTypes.Default) { return(AddTomlObjectInternal(table, key, table.CreateAttached(tableArray, tableType))); }
public static TomlDuration Update(this TomlTable table, string key, TimeSpan value) => Update(table, key, table.CreateAttached(value));
public static TomlDateTime Update(this TomlTable table, string key, DateTimeOffset value) => Update(table, key, table.CreateAttached(value));
public static TomlFloat Update(this TomlTable table, string key, double value) => Update(table, key, table.CreateAttached(value));
public static TomlInt Update(this TomlTable table, string key, long value) => Update(table, key, table.CreateAttached(value));
// Values public static TomlBool Add(this TomlTable table, string key, bool value) => AddTomlObjectInternal(table, key, table.CreateAttached(value));
public static Result <TomlArray> Update(this TomlTable table, string key, IEnumerable <DateTime> array) => Update(table, key, table.CreateAttached(array));
public static TomlDuration Add(this TomlTable table, string key, TimeSpan value) => AddTomlObjectInternal(table, key, table.CreateAttached(value));
public static TomlArray Add(this TomlTable table, string key, IEnumerable <DateTime> array) => AddTomlObjectInternal(table, key, table.CreateAttached(array));
public static TomlFloat Add(this TomlTable table, string key, float value) => AddTomlObjectInternal(table, key, table.CreateAttached((double)value));
public static TomlOffsetDateTime Add(this TomlTable table, string key, DateTimeOffset value) => AddTomlObjectInternal(table, key, table.CreateAttached(value));
public static TomlInt Add(this TomlTable table, string key, int value) => AddTomlObjectInternal(table, key, table.CreateAttached((long)value));
public static Result <TomlArray> Add(this TomlTable table, string key, IEnumerable <float> array) => AddTomlObjectInternal(table, key, table.CreateAttached(array));
public static Result <TomlFloat> Add(this TomlTable table, string key, double value) => AddTomlObjectInternal(table, key, table.CreateAttached(value));
public static TomlArray Update(this TomlTable table, string key, IEnumerable <TimeSpan> array) => Update(table, key, table.CreateAttached(array));
public static TomlArray Add(this TomlTable table, string key, IEnumerable <TimeSpan> values) => AddTomlObjectInternal(table, key, table.CreateAttached(values));
// Values public static TomlBool Update(this TomlTable table, string key, bool value) => Update(table, key, table.CreateAttached(value));
public static Result <TomlString> Update(this TomlTable table, string key, string value) => Update(table, key, table.CreateAttached(value));