コード例 #1
0
ファイル: ConcatMany.cs プロジェクト: oboukli/reactive
        public IDisposable Subscribe(IObserver <T> observer)
        {
            var parent = new ConcatManyOuterObserver(observer);
            var d      = sources.SubscribeSafe(parent);

            parent.OnSubscribe(d);
            return(parent);
        }
コード例 #2
0
ファイル: ConcatMany.cs プロジェクト: zyj10053/reactive
        public IDisposable Subscribe(IObserver <T> observer)
        {
            if (observer == null)
            {
                throw new ArgumentNullException(nameof(observer));
            }
            var parent = new ConcatManyOuterObserver(observer);
            var d      = _sources.SubscribeSafe(parent);

            parent.OnSubscribe(d);
            return(parent);
        }
コード例 #3
0
ファイル: ConcatMany.cs プロジェクト: zyj10053/reactive
 internal InnerObserver(ConcatManyOuterObserver parent)
 {
     _parent = parent;
 }