Пример #1
0
            public _(MinBy <TSource, TKey> parent, IObserver <IList <TSource> > observer)
                : base(observer)
            {
                _keySelector = parent._keySelector;
                _comparer    = parent._comparer;

                _list = new List <TSource>();
            }
Пример #2
0
            public _(MinBy <TSource, TKey> parent, IObserver <IList <TSource> > observer, IDisposable cancel)
                : base(observer, cancel)
            {
                _parent = parent;

                _hasValue = false;
                _lastKey  = default(TKey);
                _list     = new List <TSource>();
            }