Esempio n. 1
0
 public static CellsInfo ScanRow(this Grid grid, Int32 row)
 {
     if (grid == null)
     {
         throw new ArgumentNullException(nameof(grid));
     }
     if (row < 1 || row > grid.RowCount)
     {
         throw new ArgumentOutOfRangeException(nameof(row));
     }
     return(ScanCells(grid, GridPointGenerator.GenerateRow(row)));
 }
Esempio n. 2
0
 public static NumbersBinary AppendRow(this NumbersBinary numbers, Grid grid, Int32 row)
 {
     if (grid == null)
     {
         throw new ArgumentNullException(nameof(grid));
     }
     if (row < 1 || row > grid.RowCount)
     {
         throw new ArgumentOutOfRangeException(nameof(row));
     }
     return(AppendCells(numbers, grid, GridPointGenerator.GenerateRow(row)));
 }