Exemplo n.º 1
0
 public static TomlTable AddTable(
     this TomlTable table,
     string key,
     IEnumerable <KeyValuePair <string, TomlObject> > rows,
     TomlTable.TableTypes type = TomlTable.TableTypes.Default)
 => table.AddTable(key, table.CreateAttachedTable(rows, type));
Exemplo n.º 2
0
 public static TomlTable AddTableFromClass <T>(
     this TomlTable table, string key, T obj, TomlTable.TableTypes tableType = TomlTable.TableTypes.Default)
     where T : class
 => table.AddTable(key, table.CreateAttachedTableFromClass(obj, tableType));
Exemplo n.º 3
0
 public static TomlTable AddTable(
     this TomlTable table, string key, TomlTable.TableTypes tableType = TomlTable.TableTypes.Default)
 => table.AddTable(key, table.CreateAttachedTable(tableType));