public bool EvaluateCheckable(GitItem item, GitRevision from, GitRevision to)
        {
            if (_checkableFilter == null)
                return true;

            foreach (SelectableFilter i in _checkableFilter.GetInvocationList())
            {
                if (!i(item, from, to))
                    return false;
            }
            return true;
        }
 public bool EvaluateChecked(GitItem item)
 {
     return EvaluateFilter(item, _checkedFilter);
 }
        public static bool EvaluateFilter(GitItem item, Predicate<GitItem> filter)
        {
            if (item == null)
                return false;
            if (filter == null)
                return true;

            foreach (Predicate<GitItem> i in filter.GetInvocationList())
            {
                if (!i(item))
                    return false;
            }
            return true;
        }