private static async Task OutLine() { while (true) { var column = RandomHelper.Rand(0, width); await MatrixLine.StartNew(column); } }
public IMatrixLine CreateMatrixLine(List <IMatrixElement> elementList) { IMatrixLine line = new MatrixLine(); foreach (IMatrixElement element in elementList) { line.Line.Add(element); } return(line); }
public static async Task StartNew(int column) { var line = new MatrixLine(column); await line.Start(); }