Example #1
0
 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);
        }
Example #3
0
 public PrintInstructionLine Add(ConsoleParams instruction)
 {
     Instructions.Add(instruction);
     return(this);
 }