mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-29 17:25:32 +00:00
19 lines
555 B
C#
19 lines
555 B
C#
namespace HaWeb.SearchHelpers;
|
|
using System.Text;
|
|
using HaDocument.Interfaces;
|
|
|
|
public class SearchState : HaWeb.HTMLParser.IState {
|
|
internal string SearchWord;
|
|
internal string? CurrentIdentifier;
|
|
internal ILibrary? Lib;
|
|
internal bool Normalize;
|
|
internal List<(string Page, string Line, string Identifier)>? Results;
|
|
|
|
public SearchState(string searchword, bool normalize = false, ILibrary? lib = null) {
|
|
Lib = lib;
|
|
Normalize = normalize;
|
|
SearchWord = searchword;
|
|
}
|
|
|
|
public void SetupState() {}
|
|
} |