public NTextSearchPresenter(ITextSearchView view, string folderName){ View = view; SetFolderName(folderName); _notificationHandlers = InitTextSearchNotifyHandlers(); _engine = InitEngine(); _searchEngineWorker = InitSearchEngineWorker(); }
private Engine InitEngine(){ var engine = new Engine(); engine.OnFileFound += engine_OnFileFound; return engine; }
public static void MyClassInitialize(TestContext testContext) { _fsHelper = new FSHelper(); _testFolder = _fsHelper.TestFolder; _engine = new Engine(); }