public override bool Equals(object o) { if (!(o is TitleReplacement)) { return(false); } TitleReplacement v = o as TitleReplacement; if (!Replace.Equals(v.Replace)) { return(false); } if (!ReplacementType.Equals(v.ReplacementType)) { return(false); } if (!Search.Equals(v.Search)) { return(false); } return(true); }