C# Class FileScanner.SimpleResultTextGenerator

Generates search result displayed to user in a following manner: "path: - match phrase : occurences" for example: C:\File1.txt: - dog : 11 22 - cow : 33 44 C:\File2.txt: - cow : 55 - cat : 66 77
Inheritance: IResultTextGenerator
Afficher le fichier Open project: kzemek/FileScanner

Méthodes publiques

Méthode Description
Generate ( ISearchResult searchResults ) : string

Private Methods

Méthode Description
GeneratePhrase ( StringBuilder sb, PatternMatching.Match>.IGrouping phraseGroup ) : void
GenerateSearchee ( StringBuilder sb, SearcheeResult result ) : void

Method Details

Generate() public méthode

public Generate ( ISearchResult searchResults ) : string
searchResults ISearchResult
Résultat string