/// <summary> /// Create a new table joining two existing tables /// </summary> /// <param name="leftTable"></param> /// <param name="rightTable"></param> /// <param name="joiner"></param> public JoinedTable(IReactiveTable leftTable, IReactiveTable rightTable, IReactiveTableJoiner joiner) { _leftTable = leftTable; _rightTable = rightTable; _joiner = joiner; _joiner.SetObserver(_calculatedColumnSubject); _changeNotifier = new Lazy <PropertyChangedNotifier>(() => new PropertyChangedNotifier(this)); AddBaseTableColumns(leftTable); AddBaseTableColumns(rightTable); // TODO: need to process all existing values in the tables }
public IReactiveTable Join(IReactiveTable otherTable, IReactiveTableJoiner joiner) { throw new NotImplementedException(); }
public virtual IReactiveTable Join(IReactiveTable otherTable, IReactiveTableJoiner joiner) { return(new JoinedTable(this, otherTable, joiner)); }
public void SetJoiner(IReactiveTableJoiner joiner) { _joiner = joiner; }