// // Copyright (c) Adrian Conlon. All rights reserved. // namespace Fuse { using System.Collections.Generic; public class Results { private readonly Lines lines; public Results(string path) => this.lines = new Lines(path); public Dictionary Container { get; } = new Dictionary(); public void Read() => this.lines.Read(); public void Parse() { while (!this.lines.EndOfFile) { var result = new Result(); if (result.TryParse(this.lines)) { this.Container.Add(result.Description, result); } } } } }