private Row(X.Row row, X.SharedStringTable sst) { cellList = row.Cells .Where(c => c.CellType != X.CellDataType.None) .Select(c => cellFactory.Create(c, sst)) .ToList(); if (cellList.Count > 0) { Columns = row.Cells.Length; } cellColumnLookup = cellList .ToDictionary(c => ColumnToIndex(c.Column)); cellLookup = cellList .ToDictionary(c => c.Column); }
public Row Create(X.Row row, X.SharedStringTable sst) => new Row(row, sst);