Beispiel #1
0
        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();
        }
Beispiel #2
0
 public override string SearchResultLabel(object item, string query)
 {
     return(TypeOption.SearchResultLabel((Type)item, query));
 }