Beispiel #1
0
        public override ushort FindOpen(string path)
        {
            SearchData search = new SearchData(ConvertMFPathToPath(path));

            ushort handle = (ushort)search.GetHashCode();

            while (_openedSearches.ContainsKey(handle))
            {
                handle++;
            }

            _openedSearches.Add(handle, search);

            return(handle);
        }