Esempio n. 1
0
        /// <summary>
        /// Filter the source table using the given predicate.
        /// </summary>
        /// <param name="sourceTable"></param>
        /// <param name="predicate"></param>
        public FilteredTable(IReactiveTable sourceTable, IReactivePredicate predicate)
        {
            _sourceTable = sourceTable;
            _predicate   = predicate;

            _token = _sourceTable.ReplayAndSubscribe(OnNext);

            _changeNotifier = new Lazy <PropertyChangedNotifier>(() => new PropertyChangedNotifier(this));
        }
 public IReactiveTable Filter(IReactivePredicate predicate)
 {
     throw new NotImplementedException();
 }
Esempio n. 3
0
 public virtual IReactiveTable Filter(IReactivePredicate predicate)
 {
     return(new FilteredTable(this, predicate));
 }