Exemplo n.º 1
0
		private void OnSearchFound(SearchFileInfo fileInfo)
		{
			if (SearchFound != null)
			{
				SearchFound(this, new SearchFoundEventArgs { FileInfo = fileInfo });
			}
		}
Exemplo n.º 2
0
        private SearchFileInfo CreateSearchFileInfo(string file, string searchTextHits)
        {
            FileInfo fileInfo = new FileInfo(file);
            SearchFileInfo searchFileInfo = new SearchFileInfo();
            searchFileInfo.Path = file;
            searchFileInfo.LastWriteTime = fileInfo.LastWriteTime;
            searchFileInfo.Length = fileInfo.Length;
            searchFileInfo.SearchTexts = searchTextHits;

            return searchFileInfo;
        }
Exemplo n.º 3
0
 void ISearchContext.SearchFound(SearchFileInfo fileInfo)
 {
     OnSearchFound(fileInfo);
 }