Beispiel #1
0
        public void SearchFullText(String text, String path)
        {
            String scope = path;

            if (scope[scope.Length - 1] == '\\')
            {
                scope = scope.Substring(0, scope.Length - 1);
            }
            scope = scope.Replace('\\', '/');

            CSearchDAL searchEngine             = new CSearchDAL();
            List <CSearchResultItem> tempResult = searchEngine.SearchFolder(text, scope);

            if (tempResult.Count > 0)
            {
                _result.AddRange(tempResult);
            }
        }