C# Class Bigio.Common.Classes.Range

Range is object containes information about some area inside any array. It consists of index of start element and count of element.
Afficher le fichier Open project: 80LevelElf/Bigio

Méthodes publiques

Свойство Type Description
Count int
Index int

Méthodes publiques

Méthode Description
Divide ( int partCount ) : IEnumerable

Divide current range into almost equal inner ranges.

Range ( int index, int count ) : System

Create new instance of Range with specified data.

Method Details

Divide() public méthode

Divide current range into almost equal inner ranges.
public Divide ( int partCount ) : IEnumerable
partCount int Count of parts to divide
Résultat IEnumerable

Range() public méthode

Create new instance of Range with specified data.
public Range ( int index, int count ) : System
index int Index of start element of range.
count int Count of elements in range.
Résultat System

Property Details

Count public_oe property

Count of elements in range.
public int Count
Résultat int

Index public_oe property

Index of start element of range.
public int Index
Résultat int