// Methods

        public void ConfigureGrid(TaskGrid taskGrid)
        {
            var containers = new GridGenerator.Container[rowsNumber, columnsNumber];

            IterateContainers(rowsNumber, columnsNumber, itemsPerContainer, (row, col, itemIndex, valueIndex) =>
            {
                if (itemIndex == 0)
                {
                    containers[row, col].items = new int[itemsPerContainer];
                }
                containers[row, col].items[itemIndex] = itemValues[valueIndex];
            });

            var gridGenerator = new GridGenerator(containers, incorrectContainersNumber);

            taskGrid.SetConfiguration(gridGenerator);
        }