public FirstObservable(UniRx.IObservable <T> source, Func <T, bool> predicate, bool useDefault) : base(source.IsRequiredSubscribeOnCurrentThread()) { this.source = source; this.predicate = predicate; this.useDefault = useDefault; }
public BatchFrameObservable(UniRx.IObservable <T> source, int frameCount, FrameCountType frameCountType) : base(source.IsRequiredSubscribeOnCurrentThread()) { this.source = source; this.frameCount = frameCount; this.frameCountType = frameCountType; }
public TakeLastObservable(UniRx.IObservable <T> source, TimeSpan duration, IScheduler scheduler) : base(scheduler == Scheduler.CurrentThread || source.IsRequiredSubscribeOnCurrentThread()) { this.source = source; this.duration = duration; this.scheduler = scheduler; }
public SampleObservable(UniRx.IObservable <T> source, TimeSpan interval, IScheduler scheduler) : base(source.IsRequiredSubscribeOnCurrentThread() || scheduler == Scheduler.CurrentThread) { this.source = source; this.interval = interval; this.scheduler = scheduler; }
public DelayObservable(UniRx.IObservable <T> source, TimeSpan dueTime, IScheduler scheduler) : base(scheduler == Scheduler.CurrentThread || source.IsRequiredSubscribeOnCurrentThread()) { this.source = source; this.dueTime = dueTime; this.scheduler = scheduler; }
public ZipLatestObservable(UniRx.IObservable <TLeft> left, UniRx.IObservable <TRight> right, Func <TLeft, TRight, TResult> selector) : base(left.IsRequiredSubscribeOnCurrentThread() || right.IsRequiredSubscribeOnCurrentThread()) { this.left = left; this.right = right; this.selector = selector; }
public TimeoutObservable(UniRx.IObservable <T> source, DateTimeOffset dueTime, IScheduler scheduler) : base(scheduler == Scheduler.CurrentThread || source.IsRequiredSubscribeOnCurrentThread()) { this.source = source; dueTimeDT = dueTime; this.scheduler = scheduler; }
public WhereSelectObservable(UniRx.IObservable <T> source, Func <T, bool> predicate, Func <T, TR> selector) : base(source.IsRequiredSubscribeOnCurrentThread()) { this.source = source; this.predicate = predicate; this.selector = selector; }
public BufferObservable(UniRx.IObservable <T> source, int count, int skip) : base(source.IsRequiredSubscribeOnCurrentThread()) { this.source = source; this.count = count; this.skip = skip; }
public DoObservable(UniRx.IObservable <T> source, Action <T> onNext, Action <Exception> onError, Action onCompleted) : base(source.IsRequiredSubscribeOnCurrentThread()) { this.source = source; this.onNext = onNext; this.onError = onError; this.onCompleted = onCompleted; }
public BufferObservable(UniRx.IObservable <T> source, TimeSpan timeSpan, int count, IScheduler scheduler) : base(scheduler == Scheduler.CurrentThread || source.IsRequiredSubscribeOnCurrentThread()) { this.source = source; this.timeSpan = timeSpan; this.count = count; this.scheduler = scheduler; }
public static bool IsRequiredSubscribeOnCurrentThread <T>(this UniRx.IObservable <T> source, IScheduler scheduler) { if (scheduler == Scheduler.CurrentThread) { return(true); } return(source.IsRequiredSubscribeOnCurrentThread()); }
public GroupByObservable(UniRx.IObservable <TSource> source, Func <TSource, TKey> keySelector, Func <TSource, TElement> elementSelector, int?capacity, IEqualityComparer <TKey> comparer) : base(source.IsRequiredSubscribeOnCurrentThread()) { this.source = source; this.keySelector = keySelector; this.elementSelector = elementSelector; this.capacity = capacity; this.comparer = comparer; }
public SelectManyObservable(UniRx.IObservable <TSource> source, Func <TSource, UniRx.IObservable <TResult> > selector) : base(source.IsRequiredSubscribeOnCurrentThread()) { this.source = source; this.selector = selector; }
public FrameTimeIntervalObservable(UniRx.IObservable <T> source, bool ignoreTimeScale) : base(source.IsRequiredSubscribeOnCurrentThread()) { this.source = source; this.ignoreTimeScale = ignoreTimeScale; }
public AsSingleUnitObservableObservable(UniRx.IObservable <T> source) : base(source.IsRequiredSubscribeOnCurrentThread()) { this.source = source; }
public TakeLastObservable(UniRx.IObservable <T> source, int count) : base(source.IsRequiredSubscribeOnCurrentThread()) { this.source = source; this.count = count; }
public DoObserverObservable(UniRx.IObservable<T> source, IObserver<T> observer) : base(source.IsRequiredSubscribeOnCurrentThread()) { this.source = source; this.observer = observer; }
public SkipWhileObservable(UniRx.IObservable <T> source, Func <T, int, bool> predicateWithIndex) : base(source.IsRequiredSubscribeOnCurrentThread()) { this.source = source; this.predicateWithIndex = predicateWithIndex; }
public AggregateObservable(UniRx.IObservable <TSource> source, Func <TSource, TSource, TSource> accumulator) : base(source.IsRequiredSubscribeOnCurrentThread()) { this.source = source; this.accumulator = accumulator; }
public DoOnCompletedObservable(UniRx.IObservable <T> source, Action onCompleted) : base(source.IsRequiredSubscribeOnCurrentThread()) { this.source = source; this.onCompleted = onCompleted; }
public CatchObservable(UniRx.IObservable <T> source, Func <TException, UniRx.IObservable <T> > errorHandler) : base(source.IsRequiredSubscribeOnCurrentThread()) { this.source = source; this.errorHandler = errorHandler; }
public OfTypeObservable(UniRx.IObservable <TSource> source) : base(source.IsRequiredSubscribeOnCurrentThread()) { this.source = source; }
public DoOnCancelObservable(UniRx.IObservable <T> source, Action onCancel) : base(source.IsRequiredSubscribeOnCurrentThread()) { this.source = source; this.onCancel = onCancel; }
public AmbObservable(UniRx.IObservable <T> source, UniRx.IObservable <T> second) : base(source.IsRequiredSubscribeOnCurrentThread() || second.IsRequiredSubscribeOnCurrentThread()) { this.source = source; this.second = second; }
public DematerializeObservable(UniRx.IObservable <Notification <T> > source) : base(source.IsRequiredSubscribeOnCurrentThread()) { this.source = source; }
public SelectManyObservable(UniRx.IObservable <TSource> source, Func <TSource, int, IEnumerable <TResult> > selector) : base(source.IsRequiredSubscribeOnCurrentThread()) { this.source = source; selectorEnumerableWithIndex = selector; }
public ForEachAsyncObservable(UniRx.IObservable <T> source, Action <T, int> onNext) : base(source.IsRequiredSubscribeOnCurrentThread()) { this.source = source; onNextWithIndex = onNext; }
public SynchronizeObservable(UniRx.IObservable <T> source, object gate) : base(source.IsRequiredSubscribeOnCurrentThread()) { this.source = source; this.gate = gate; }
public SubscribeOnObservable(UniRx.IObservable <T> source, IScheduler scheduler) : base(scheduler == Scheduler.CurrentThread || source.IsRequiredSubscribeOnCurrentThread()) { this.source = source; this.scheduler = scheduler; }