Example #1
0
        public void Remove(string searchText)
        {
            var item = Searches.Lookup(searchText);

            if (!item.HasValue)
            {
                return;
            }


            if (!item.Value.IsGlobal)
            {
                _localMetadataCollection.Remove(searchText);
            }
            else
            {
                _combinedSearchMetadataCollection.Global.Remove(searchText);
            }
        }