protected IList <InvolvedRow> GetInvolvedRows([NotNull] ITableIndexRow tableIndexRow) { IRow row = tableIndexRow.GetRow(InvolvedTables); RelatedTables related = GetRelatedTables(row); return(related?.GetInvolvedRows(row) ?? new[] { new InvolvedRow(row) }); }
public SimpleDirectedRow([NotNull] ITopologicalLine line, [NotNull] ITableIndexRow row, bool isBackward) { _isBackward = isBackward; _topologicalLine = line; // new SimpleTopoLine(line); _row = row; // new SimpleTableIndexRow(row); }
private RowCondition GetFlipCondition([NotNull] ITableIndexRow row) { if (_flipExpressions == null) { return(null); } if (_flipConditions == null) { _flipConditions = CreateFlipConditions( _flipExpressions, InvolvedTables); } return(_flipConditions.Count == 1 ? _flipConditions[0] : _flipConditions[row.TableIndex]); }
public NodesDirectedRow([NotNull] ITopologicalLine line, [NotNull] ITableIndexRow row, bool isBackward) : base(line, row, isBackward) { }