public bool Equals(Srm srm) { if (srm == null) { return(false); } if (srm.Name == null) { return(false); } return (this.Id == srm.Id && this.Name.ToLowerInvariant().IgnorePunctuation() == srm.Name.ToLowerInvariant().IgnorePunctuation() && this.High == srm.High && this.Low == srm.Low); }
public bool Equals(Srm srm) { if (srm == null) return false; if (srm.Name == null) return false; return this.Id == srm.Id && this.Name.ToLowerInvariant().IgnorePunctuation() == srm.Name.ToLowerInvariant().IgnorePunctuation() && this.High == srm.High && this.Low == srm.Low; }