NullEnumerator ClassApache log4net™ SDK Documentation
An always empty IEnumerator.
Inheritance Hierarchy

SystemObject
  log4net.UtilNullEnumerator

Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

public sealed class NullEnumerator : IEnumerator

The NullEnumerator type exposes the following members.

Properties

  NameDescription
Public propertyCurrent
Gets the current object from the enumerator.
Public propertyStatic memberInstance
Get the singleton instance of the NullEnumerator.
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodMoveNext
Test if the enumerator can advance, if so advance
Public methodReset
Resets the enumerator back to the start.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Remarks

A singleton implementation of the IEnumerator over a collection that is empty and not modifiable.

See Also

Reference