C# Class TailBlazer.Domain.FileHandling.IndexCollection

Inheritance: ILineProvider
Afficher le fichier Open project: RolandPheasant/TailBlazer Class Usage Examples

Private Properties

Свойство Type Description
CalculateIndexByPositon long
CalculateRelativeIndex RelativeIndex
GetPage TailBlazer.Domain.FileHandling.Page
ReadLinesByIndex IEnumerable
ReadLinesByPosition IEnumerable

Méthodes publiques

Méthode Description
IndexCollection ( IReadOnlyCollection latest, IndexCollection previous, FileInfo info, Encoding encoding ) : System
ReadLines ( ScrollRequest scroll ) : IEnumerable

Reads the lines.

Private Methods

Méthode Description
CalculateIndexByPositon ( long position ) : long
CalculateRelativeIndex ( int index ) : RelativeIndex
GetPage ( ScrollRequest scroll ) : TailBlazer.Domain.FileHandling.Page
ReadLinesByIndex ( ScrollRequest scroll ) : IEnumerable
ReadLinesByPosition ( ScrollRequest scroll ) : IEnumerable

Method Details

IndexCollection() public méthode

public IndexCollection ( IReadOnlyCollection latest, IndexCollection previous, FileInfo info, Encoding encoding ) : System
latest IReadOnlyCollection
previous IndexCollection
info System.IO.FileInfo
encoding System.Text.Encoding
Résultat System

ReadLines() public méthode

Reads the lines.
public ReadLines ( ScrollRequest scroll ) : IEnumerable
scroll ScrollRequest The scroll.
Résultat IEnumerable