示例#1
0
 public override IReactiveColumn AddColumn(IReactiveColumn column, bool shouldSubscribe = true)
 {
     if (shouldSubscribe)
     {
         column.Subscribe(_subject);
     }
     return(_columns.AddColumn(column));
 }
示例#2
0
        public IReactiveColumn AddColumn(IReactiveColumn column, bool shouldSubscribe)
        {
            // Add calc'ed columns
            _columns.AddColumn(column);

            var joinableCol = column as IReactiveJoinableColumn;

            if (joinableCol != null)
            {
                joinableCol.SetJoiner(_joiner);
            }

            // Need to subscribe to changes in calculated columns
            column.Subscribe(_calculatedColumnSubject);
            return(column);
        }
示例#3
0
 public void SubscribeToColumn(IReactiveColumn column)
 {
     _subscriptions.Add(column.Subscribe(GetObserver()));
 }