Esempio n. 1
0
 public static TomlConfig Create(Action<ITomlConfigBuilder> cfg)
 {
     var config = new TomlConfig();
     var builder = new TomlConfigBuilder(config);
     cfg(builder);
     builder.SetupConverters();
     return config;
 }
Esempio n. 2
0
 public static TomlTable Deserialize(Stream s, TomlConfig config)
 {
     var parser = new Parser.Parser(s, config);
     return parser.Parse();
 }
Esempio n. 3
0
 public ConfigScope(TomlConfig previousConfig)
 {
     this.previousConfig = previousConfig;
 }