Beispiel #1
0
        public void ResetHighlights()
        {
            lock (_providers)
            {
                Highlighting?.Invoke(this, EventArgs.Empty);

                foreach (var provider in _providers)
                {
                    provider.ResetHighlight();
                }

                Highlighted?.Invoke(this, EventArgs.Empty);
            }
        }
Beispiel #2
0
        public void HighlightSearchables(IEnumerable <object> searchables)
        {
            lock (_providers)
            {
                Highlighting?.Invoke(this, EventArgs.Empty);

                foreach (var searchable in searchables)
                {
                    foreach (var provider in _providers)
                    {
                        provider.HighlightSearchable(searchable);
                    }
                }

                Highlighted?.Invoke(this, EventArgs.Empty);
            }
        }