示例#1
0
 public bool Equals(SearchResult p)
 {
     if (p == null)
     {
         return(false);
     }
     return(Traditional.Equals(p.Traditional) && PinyinNumbered.ToLower().Equals(p.PinyinNumbered.ToLower()));
 }
示例#2
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            SearchResult p = obj as SearchResult;

            if (p == null)
            {
                return(false);
            }

            return(Traditional.Equals(p.Traditional) && PinyinNumbered.ToLower().Equals(p.PinyinNumbered.ToLower()));
        }