C# Class Discuz.Entity.PhotoCommentInfoCollection.PhotoCommentInfoCollectionEnumerator

Supports a simple iteration over a PhotoCommentInfoCollection.
Inheritance: IEnumerator
Datei anzeigen Open project: CyranoChen/DiscuzNT

Private Properties

Property Type Description
IEnumerator bool
IEnumerator void

Public Methods

Method Description
MoveNext ( ) : bool

Advances the enumerator to the next element of the collection.

PhotoCommentInfoCollectionEnumerator ( PhotoCommentInfoCollection mappings ) : System

Initializes a new instance of the PhotoCommentInfoCollectionEnumerator class referencing the specified PhotoCommentInfoCollection object.

Reset ( ) : void

Sets the enumerator to its initial position, which is before the first element in the collection.

Private Methods

Method Description
IEnumerator ( ) : bool
IEnumerator ( ) : void

Method Details

MoveNext() public method

Advances the enumerator to the next element of the collection.
public MoveNext ( ) : bool
return bool

PhotoCommentInfoCollectionEnumerator() public method

Initializes a new instance of the PhotoCommentInfoCollectionEnumerator class referencing the specified PhotoCommentInfoCollection object.
public PhotoCommentInfoCollectionEnumerator ( PhotoCommentInfoCollection mappings ) : System
mappings PhotoCommentInfoCollection The PhotoCommentInfoCollection to enumerate.
return System

Reset() public method

Sets the enumerator to its initial position, which is before the first element in the collection.
public Reset ( ) : void
return void