mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2024-11-04 19:06:12 +00:00
a9a03d946a
Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
26 lines
558 B
C#
26 lines
558 B
C#
namespace Fuse
|
|
{
|
|
using System.Collections.Generic;
|
|
|
|
public class TestEvents
|
|
{
|
|
public List<TestEvent> Container { get; } = new List<TestEvent>();
|
|
|
|
public void Parse(Lines lines)
|
|
{
|
|
var complete = false;
|
|
do
|
|
{
|
|
var e = new TestEvent();
|
|
e.Parse(lines);
|
|
complete = !e.Valid;
|
|
if (!complete)
|
|
{
|
|
this.Container.Add(e);
|
|
}
|
|
}
|
|
while (!complete);
|
|
}
|
|
}
|
|
}
|