Пример #1
0
 public override CellPosition Apply(Table t)
 {
     if (t is IndexedTable)
     {
         IndexedTable it    = (IndexedTable)t;
         var          pos   = subLink.Apply(it.m_SourceTable);
         var          index = System.Array.FindIndex(it.indices, x => x == pos.row);
         return(new CellPosition(index, pos.col));
     }
     return(CellPosition.invalid);
 }