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); } }
public override void Load(Stream stream) { var table = Toml.ReadStream(stream); this.Data = ProviderDictionaryConverter.ToProviderDictionary(table); }