C# Class BzReader.HitCollection

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

Public Methods

Method 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

Method Description
IEnumerable ( ) : IEnumerator

Returns an enumerator that iterates through the instance.

Method Details

Add() public method

Adds the specified hit.
public Add ( PageInfo hit ) : void
hit PageInfo The hit.
return void

HitCollection() public method

Initializes a new instance of the HitCollection class.
public HitCollection ( ) : System
return System

MoveNext() public method

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

Remove() public method

Removes the specified hit.
public Remove ( PageInfo hit ) : void
hit PageInfo The hit.
return void

Reset() public method

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
return void

this() public method

Gets or sets the PageInfo at the specified index.
public this ( int index ) : PageInfo
index int
return PageInfo