C# Class BzReader.HitCollection

The class encapsulates the list of the index hits
Inheritance: System.Collections.CollectionBase, IEnumerable, IEnumerator
Afficher le fichier Open project: synhershko/BzReader Class Usage Examples

Méthodes publiques

Méthode Description
Add ( PageInfo hit ) : void

Adds the specified hit.

HitCollection ( ) : System

Initializes a new instance of the HitCollection class.

MoveNext ( ) : bool

Advances the enumerator to the next element of the collection.

Remove ( PageInfo hit ) : void

Removes the specified hit.

Reset ( ) : void

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

this ( int index ) : PageInfo

Gets or sets the PageInfo at the specified index.

Private Methods

Méthode Description
IEnumerable ( ) : IEnumerator

Returns an enumerator that iterates through the instance.

Method Details

Add() public méthode

Adds the specified hit.
public Add ( PageInfo hit ) : void
hit PageInfo The hit.
Résultat void

HitCollection() public méthode

Initializes a new instance of the HitCollection class.
public HitCollection ( ) : System
Résultat System

MoveNext() public méthode

Advances the enumerator to the next element of the collection.
The collection was modified after the enumerator was created.
public MoveNext ( ) : bool
Résultat bool

Remove() public méthode

Removes the specified hit.
public Remove ( PageInfo hit ) : void
hit PageInfo The hit.
Résultat void

Reset() public méthode

Sets the enumerator to its initial position, which is before the first element in the collection.
The collection was modified after the enumerator was created.
public Reset ( ) : void
Résultat void

this() public méthode

Gets or sets the PageInfo at the specified index.
public this ( int index ) : PageInfo
index int
Résultat PageInfo