Example #1
0
 public bool Equals(SearchIndexItem other)
 {
     if (other == null)
     {
         return false;
     }
     if (ReferenceEquals(this, other))
     {
         return true;
     }
     return string.Equals(this.Title, other.Title) && string.Equals(this.Href, other.Href) && string.Equals(this.Keywords, other.Keywords);
 }
Example #2
0
 public bool Equals(SearchIndexItem other)
 {
     if (other == null)
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(string.Equals(this.Title, other.Title) && string.Equals(this.Href, other.Href) && string.Equals(this.Keywords, other.Keywords));
 }