C# Класс BzReader.HitCollection

The class encapsulates the list of the index hits
Наследование: System.Collections.CollectionBase, IEnumerable, IEnumerator
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
IEnumerable ( ) : IEnumerator

Returns an enumerator that iterates through the instance.

Описание методов

Add() публичный Метод

Adds the specified hit.
public Add ( PageInfo hit ) : void
hit PageInfo The hit.
Результат void

HitCollection() публичный Метод

Initializes a new instance of the HitCollection class.
public HitCollection ( ) : System
Результат System

MoveNext() публичный Метод

Advances the enumerator to the next element of the collection.
The collection was modified after the enumerator was created.
public MoveNext ( ) : bool
Результат bool

Remove() публичный Метод

Removes the specified hit.
public Remove ( PageInfo hit ) : void
hit PageInfo The hit.
Результат void

Reset() публичный Метод

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
Результат void

this() публичный Метод

Gets or sets the PageInfo at the specified index.
public this ( int index ) : PageInfo
index int
Результат PageInfo