void SetCurrentRow(int tableScope, int tableId, int rowScope, int rowId) { if (rowScope == 0) { rowScope = _defaultScope; } if (tableScope == 0) { tableScope = _defaultScope; } MorkTableMap ts = GetOrAdd(_mork, Math.Abs(tableScope)); RowScopeMap t = GetOrAdd(ts, Math.Abs(tableId)); MorkRowMap rs = GetOrAdd(t, Math.Abs(rowScope)); _currentCells = GetOrAdd(rs, Math.Abs(rowId)); }
public IEnumerable <IEnumerable <KeyValuePair <int, string> > > GetRows(MorkRowMap map) { return(map.Select(pair => GetCells(pair.Value))); }