using System.IO; using System.IO.Abstractions; namespace Terminal.Gui { /// /// Defines whether a given file/directory matches a set of /// search terms. /// public interface ISearchMatcher { /// /// Called once for each new search. Defines the string /// the user has provided as search terms. /// void Initialize (string terms); /// /// Return true if is a match to the /// last provided search terms /// bool IsMatch (IFileSystemInfo f); } }