Exemplo n.º 1
0
        public void Handle(string filename)
        {
            var sequence = new Sequence();

            sequence.Load(filename);

            _loader.Load(sequence);
            _loader.Apply();
        }
        public void Handle(string filename)
        {
            StringBuilder sb = new StringBuilder();

            foreach (var line in File.ReadAllLines(filename))
            {
                sb.AppendLine(line);
            }

            _loader.Load(sb.ToString());
            _loader.Apply();
        }