Table of Contents

Class FileForSearching

Namespace
SunamoTextIndexing.Data
Assembly
SunamoTextIndexing.dll

Represents a file loaded for text searching with lowercase indexing support.

public class FileForSearching
Inheritance
FileForSearching
Inherited Members
Extension Methods

Constructors

FileForSearching(string)

Represents a file loaded for text searching with lowercase indexing support.

public FileForSearching(string path)

Parameters

path string

Full path to the file to be loaded for searching.

Properties

FoundLines

Line numbers where search matches were found.

public List<int> FoundLines { get; set; }

Property Value

List<int>

IsSurelyNo

Indicates whether this file is certainly not a match for the current search.

public bool IsSurelyNo { get; set; }

Property Value

bool

Lines

All original lines from the file.

public List<string> Lines { get; set; }

Property Value

List<string>

LowercaseLines

All lines from the file converted to lowercase for case-insensitive searching.

public List<string> LowercaseLines { get; set; }

Property Value

List<string>

Methods

Init()

Reads the file from disk and initializes both original and lowercase line collections.

public Task Init()

Returns

Task