Beispiel #1
0
 private static async Task OutLine()
 {
     while (true)
     {
         var column = RandomHelper.Rand(0, width);
         await MatrixLine.StartNew(column);
     }
 }
Beispiel #2
0
        public IMatrixLine CreateMatrixLine(List <IMatrixElement> elementList)
        {
            IMatrixLine line = new MatrixLine();

            foreach (IMatrixElement element in elementList)
            {
                line.Line.Add(element);
            }

            return(line);
        }
Beispiel #3
0
 public static async Task StartNew(int column)
 {
     var line = new MatrixLine(column);
     await line.Start();
 }