public PrintInstructionLine(ConsoleParams instruction) { Instructions = new List <ConsoleParams>() { instruction }; }
public PrintInstructions Add(ConsoleParams instruction) { if (Lines.Count == 0) { Lines.Add(new PrintInstructionLine(instruction)); return(this); } Lines[_index].Add(instruction); return(this); }
public PrintInstructionLine Add(ConsoleParams instruction) { Instructions.Add(instruction); return(this); }