C# Класс TailBlazer.Domain.FileHandling.IndexCollection

Наследование: ILineProvider
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
CalculateIndexByPositon long
CalculateRelativeIndex RelativeIndex
GetPage TailBlazer.Domain.FileHandling.Page
ReadLinesByIndex IEnumerable
ReadLinesByPosition IEnumerable

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

Метод Описание
IndexCollection ( IReadOnlyCollection latest, IndexCollection previous, FileInfo info, Encoding encoding ) : System
ReadLines ( ScrollRequest scroll ) : IEnumerable

Reads the lines.

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

Метод Описание
CalculateIndexByPositon ( long position ) : long
CalculateRelativeIndex ( int index ) : RelativeIndex
GetPage ( ScrollRequest scroll ) : TailBlazer.Domain.FileHandling.Page
ReadLinesByIndex ( ScrollRequest scroll ) : IEnumerable
ReadLinesByPosition ( ScrollRequest scroll ) : IEnumerable

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

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

public IndexCollection ( IReadOnlyCollection latest, IndexCollection previous, FileInfo info, Encoding encoding ) : System
latest IReadOnlyCollection
previous IndexCollection
info System.IO.FileInfo
encoding System.Text.Encoding
Результат System

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

Reads the lines.
public ReadLines ( ScrollRequest scroll ) : IEnumerable
scroll ScrollRequest The scroll.
Результат IEnumerable