public SelectLambdaObserverEx ( [NotNull] IObservable <TItem> Source, [NotNull] SimpleObservableEx <TValue> Destination, [NotNull] Func <TItem, TValue> Converter ) : base ( Source, t => Destination.OnNext(Converter(t)), Destination.OnCompleted, Destination.OnReset, Destination.OnError ) { }
public WhereLambdaObserverEx ( [NotNull] IObservable <T> Source, [NotNull] SimpleObservableEx <T> Destination, [NotNull] Func <T, bool> WhereSelector ) : base ( Source, t => { if (WhereSelector(t)) { Destination.OnNext(t); } }, Destination.OnCompleted, Destination.OnReset, Destination.OnError ) { }