/// <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); }
/// <inheritdoc /> IEnumerator IEnumerable.GetEnumerator() { LockingEnumerator <T> objReturn = LockingEnumerator <T> .Get(this); objReturn.SetEnumerator(_lstOrderedData.GetEnumerator()); return(objReturn); }
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); }
/// <inheritdoc /> public IEnumerator <KeyValuePair <TKey, TValue> > GetEnumerator() { LockingEnumerator <KeyValuePair <TKey, TValue> > objReturn = new LockingEnumerator <KeyValuePair <TKey, TValue> >(this); objReturn.SetEnumerator(_dicData.GetEnumerator()); return(objReturn); }
public async ValueTask <IEnumerator <T> > GetEnumeratorAsync(CancellationToken token = default) { LockingEnumerator <T> objReturn = await LockingEnumerator <T> .GetAsync(this, token); objReturn.SetEnumerator(_lstOrderedData.GetEnumerator()); return(objReturn); }
/// <inheritdoc cref="List{T}.GetEnumerator" /> public IEnumerator <T> GetEnumerator() { LockingEnumerator <T> objReturn = LockingEnumerator <T> .Get(this); objReturn.SetEnumerator(_lstData.GetEnumerator()); return(objReturn); }
public async ValueTask <IEnumerator <T> > GetEnumeratorAsync() { LockingEnumerator <T> objReturn = await LockingEnumerator <T> .GetAsync(this); objReturn.SetEnumerator(_lstData.GetEnumerator()); return(objReturn); }
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); }
/// <inheritdoc /> public new IEnumerator <T> GetEnumerator() { LockingEnumerator <T> objReturn = new LockingEnumerator <T>(this); objReturn.SetEnumerator(base.GetEnumerator()); return(objReturn); }
/// <inheritdoc /> IEnumerator IEnumerable.GetEnumerator() { LockingEnumerator <T> objReturn = new LockingEnumerator <T>(this); objReturn.SetEnumerator(_setData.GetEnumerator()); return(objReturn); }
/// <inheritdoc /> public IEnumerator <T> GetEnumerator() { LockingEnumerator <T> objReturn = new LockingEnumerator <T>(this); objReturn.SetEnumerator(_lstOrderedData.GetEnumerator()); return(objReturn); }
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); }