예제 #1
0
        /// <inheritdoc cref="IEnumerable.GetEnumerator()" />
        public IEnumerator <KeyValuePair <TKey, TValue> > GetEnumerator()
        {
            LockingEnumerator <KeyValuePair <TKey, TValue> > objReturn = LockingEnumerator <KeyValuePair <TKey, TValue> > .Get(this);

            objReturn.SetEnumerator(new LockingTypedOrderedDictionaryEnumerator(this));
            return(objReturn);
        }
예제 #2
0
        /// <inheritdoc />
        IEnumerator IEnumerable.GetEnumerator()
        {
            LockingEnumerator <T> objReturn = LockingEnumerator <T> .Get(this);

            objReturn.SetEnumerator(_lstOrderedData.GetEnumerator());
            return(objReturn);
        }
예제 #3
0
        public async ValueTask <IEnumerator <KeyValuePair <TKey, TValue> > > GetEnumeratorAsync(CancellationToken token = default)
        {
            LockingEnumerator <KeyValuePair <TKey, TValue> > objReturn = await LockingEnumerator <KeyValuePair <TKey, TValue> > .GetAsync(this, token);

            objReturn.SetEnumerator(new LockingTypedOrderedDictionaryEnumerator(this));
            return(objReturn);
        }
예제 #4
0
        /// <inheritdoc />
        public IEnumerator <KeyValuePair <TKey, TValue> > GetEnumerator()
        {
            LockingEnumerator <KeyValuePair <TKey, TValue> > objReturn = new LockingEnumerator <KeyValuePair <TKey, TValue> >(this);

            objReturn.SetEnumerator(_dicData.GetEnumerator());
            return(objReturn);
        }
예제 #5
0
        public async ValueTask <IEnumerator <T> > GetEnumeratorAsync(CancellationToken token = default)
        {
            LockingEnumerator <T> objReturn = await LockingEnumerator <T> .GetAsync(this, token);

            objReturn.SetEnumerator(_lstOrderedData.GetEnumerator());
            return(objReturn);
        }
예제 #6
0
        /// <inheritdoc cref="List{T}.GetEnumerator" />
        public IEnumerator <T> GetEnumerator()
        {
            LockingEnumerator <T> objReturn = LockingEnumerator <T> .Get(this);

            objReturn.SetEnumerator(_lstData.GetEnumerator());
            return(objReturn);
        }
예제 #7
0
        public async ValueTask <IEnumerator <T> > GetEnumeratorAsync()
        {
            LockingEnumerator <T> objReturn = await LockingEnumerator <T> .GetAsync(this);

            objReturn.SetEnumerator(_lstData.GetEnumerator());
            return(objReturn);
        }
예제 #8
0
        public async ValueTask <IEnumerator <KeyValuePair <TKey, TValue> > > GetEnumeratorAsync()
        {
            LockingEnumerator <KeyValuePair <TKey, TValue> > objReturn = await LockingEnumerator <KeyValuePair <TKey, TValue> > .GetAsync(this);

            objReturn.SetEnumerator(_dicData.GetEnumerator());
            return(objReturn);
        }
예제 #9
0
        /// <inheritdoc />
        public new IEnumerator <T> GetEnumerator()
        {
            LockingEnumerator <T> objReturn = new LockingEnumerator <T>(this);

            objReturn.SetEnumerator(base.GetEnumerator());
            return(objReturn);
        }
예제 #10
0
        /// <inheritdoc />
        IEnumerator IEnumerable.GetEnumerator()
        {
            LockingEnumerator <T> objReturn = new LockingEnumerator <T>(this);

            objReturn.SetEnumerator(_setData.GetEnumerator());
            return(objReturn);
        }
예제 #11
0
        /// <inheritdoc />
        public IEnumerator <T> GetEnumerator()
        {
            LockingEnumerator <T> objReturn = new LockingEnumerator <T>(this);

            objReturn.SetEnumerator(_lstOrderedData.GetEnumerator());
            return(objReturn);
        }
예제 #12
0
        public async ValueTask <IEnumerator <KeyValuePair <TKey, TValue> > > GetEnumeratorAsync(CancellationToken token = default)
        {
            LockingEnumerator <KeyValuePair <TKey, TValue> > objReturn = await LockingEnumerator <KeyValuePair <TKey, TValue> > .GetAsync(this, token);

            objReturn.SetEnumerator(_dicData.GetEnumerator());
            return(objReturn);
        }