C# Class LoginServer.ServerEnumerator

Exposes the server list details from the XML File.
Inheritance: IEnumerator
Afficher le fichier Open project: polserver/poltools

Méthodes publiques

Méthode Description
MoveNext ( ) : bool

Called just prior to Current being invoked. If true is returned then the foreach loop will try to get another value from Current. If false is returned then the foreach loop terminates.

Reset ( ) : void

Called when the enumerator needs to be reinitialized.

Private Methods

Méthode Description
FindNextTextElement ( ) : bool

Advances the XmlTextReader to the next Text element in the XML stream. Returns true if there is more data to be read from the stream, else false.

Method Details

MoveNext() public méthode

Called just prior to Current being invoked. If true is returned then the foreach loop will try to get another value from Current. If false is returned then the foreach loop terminates.
public MoveNext ( ) : bool
Résultat bool

Reset() public méthode

Called when the enumerator needs to be reinitialized.
public Reset ( ) : void
Résultat void