Beispiel #1
0
    public TabBookmark FindMatches(IList list)
    {
        TabModel    tabModel     = TabModel.Create("", list);
        TabBookmark bookmarkNode = tabModel.FindMatches(Filter, Filter.Depth);

        return(bookmarkNode);
    }
Beispiel #2
0
    public bool IsMatch(object obj)
    {
        if (Filter == null || Filter.FilterText.IsNullOrEmpty())
        {
            return(true);
        }

        TabModel    tabModel     = TabModel.Create("Search", obj);
        TabBookmark bookmarkNode = tabModel.FindMatches(Filter, Filter.Depth);

        return(bookmarkNode.SelectedObjects.Count > 0);
    }