예제 #1
0
            public void Dispose()
            {
                _src?.Dispose();
                _src = null;

                _parent?.Dispose();
                _parent = default;

                Pool <UnionExprEnumerator> .Return(this);
            }
예제 #2
0
 public UnionExprEnumerator Init(UnionExprEnumerable <T> parent, IPoolingEnumerator <KeyValuePair <T, int> > src)
 {
     _src    = src;
     _parent = parent;
     return(this);
 }