public override string SearchResultLabel(object item, string query)
        {
            if (item is Type)
            {
                return(TypeOption.SearchResultLabel((Type)item, query));
            }
            else if (item is Member)
            {
                return(MemberOption.SearchResultLabel((Member)item, query, direction, expectingBoolean));
            }

            throw new NotSupportedException();
        }