/// <summary> /// Creates a cell matrix based on the given configuration and stored data. /// </summary> /// <param name="cfg">The configuration.</param> /// <param name="data">The data.</param> /// <returns>The matrix</returns> public static CellMatrix Create(ICellMatrixConfiguration cfg, CellMatrixData data) { var matrix = new CellMatrix(cfg); var iter = matrix.Populate(data); while (iter.MoveNext()) { /* NOOP, we just iterate over all */ } return(matrix); }
internal MatrixIncrementalInitializer(ICellMatrixConfiguration cfg) { _matrix = new CellMatrix(cfg); _iter = _matrix.Populate(); }