Esempio n. 1
0
        public override void Load(Stream stream)
        {
            var table = Toml.ReadStream(stream);

            if (this.CaseInsensitiveKeys)
            {
                this.Data = ProviderDictionaryConverter.ToProviderDictionary(table, StringComparer.OrdinalIgnoreCase);
            }
            else
            {
                this.Data = ProviderDictionaryConverter.ToProviderDictionary(table);
            }
        }
Esempio n. 2
0
        public override void Load(Stream stream)
        {
            var table = Toml.ReadStream(stream);

            this.Data = ProviderDictionaryConverter.ToProviderDictionary(table);
        }