Struct SharedQueueEnumerator<T>
Implementation of the IEnumerator interface, for permitting SharedQueue to be used in foreach loops.
Implements
System.Collections.Generic.IEnumerator<T>
System.IDisposable
System.Collections.IEnumerator
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: RabbitMQ.Util
Assembly: RabbitMQ.Client.WinRT.dll
Syntax
public struct SharedQueueEnumerator<T> : IEnumerator<T>, IDisposable, IEnumerator
Type Parameters
Name | Description |
---|---|
T |
Constructors
| Improve this Doc View SourceSharedQueueEnumerator(SharedQueue<T>)
Construct an enumerator for the given SharedQueue.
Declaration
public SharedQueueEnumerator(SharedQueue<T> queue)
Parameters
Type | Name | Description |
---|---|---|
SharedQueue<T> | queue |
Methods
| Improve this Doc View SourceDispose()
Declaration
public void Dispose()
Explicit Interface Implementations
| Improve this Doc View SourceIEnumerator<T>.Current
Declaration
T IEnumerator<T>.Current { get; }
Returns
Type | Description |
---|---|
T |
IEnumerator.Current
Declaration
object IEnumerator.Current { get; }
Returns
Type | Description |
---|---|
System.Object |
IEnumerator.MoveNext()
Declaration
bool IEnumerator.MoveNext()
Returns
Type | Description |
---|---|
System.Boolean |
IEnumerator.Reset()
Reset()ting a SharedQueue doesn't make sense, so this method always throws InvalidOperationException.
Declaration
void IEnumerator.Reset()
Implements
System.Collections.Generic.IEnumerator<T>
System.IDisposable
System.Collections.IEnumerator