Class NaiveLockingList<T>.NaiveLockingEnumerator
An
Inheritance
System.Object
NaiveLockingList<T>.NaiveLockingEnumerator
Namespace: DotNetNuke.Collections.Internal
Assembly: DotNetNuke.dll
Syntax
public class NaiveLockingEnumerator : IEnumerator<T>
Constructors
| Improve this Doc View SourceNaiveLockingEnumerator(IEnumerator<T>, ISharedCollectionLock)
Initializes a new instance of the NaiveLockingList<T>.NaiveLockingEnumerator class.
Declaration
public NaiveLockingEnumerator(IEnumerator<T> enumerator, ISharedCollectionLock readLock)
Parameters
Type | Name | Description |
---|---|---|
IEnumerator<T> | enumerator | The enumerator to implement locking on. |
ISharedCollectionLock | readLock | An ISharedCollectionLock instance to implement the read lock. |
Properties
| Improve this Doc View SourceCurrent
An
Declaration
public T Current { get; }
Property Value
Type | Description |
---|---|
T |
Methods
| Improve this Doc View SourceDispose()
An
Declaration
public void Dispose()
Dispose(Boolean)
Disposes this instance resources.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | A value indicating whether this instance is currently disposing. |
Finalize()
Finalizes an instance of the NaiveLockingList<T>.NaiveLockingEnumerator class.
Declaration
protected void Finalize()
MoveNext()
An
Declaration
public bool MoveNext()
Returns
Type | Description |
---|---|
System.Boolean |
Reset()
An
Declaration
public void Reset()