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

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

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