public bool Equals(AppointmentInfo other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(FromDateTime.Equals(other.FromDateTime) && ToDateTime.Equals(other.ToDateTime) && string.Equals(Location, other.Location, StringComparison.OrdinalIgnoreCase) && string.Equals(Organiser, other.Organiser, StringComparison.OrdinalIgnoreCase) && string.Equals(Subject, other.Subject, StringComparison.OrdinalIgnoreCase)); }
public bool Equals(MeasurementItem other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(FromDateTime.Equals(other.FromDateTime) && TillDateTime.Equals(other.TillDateTime) && Equals(Values, other.Values) && Equals(Indexes, other.Indexes) && Equals(Standards, other.Standards)); }
public bool Equals(Measurement other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return(Id.Equals(other.Id) && InstallationExternalId == other.InstallationExternalId && UpdateDateTime.Equals(other.UpdateDateTime) && FromDateTime.Equals(other.FromDateTime) && TillDateTime.Equals(other.TillDateTime) && Equals(Values, other.Values) && Equals(Indexes, other.Indexes) && Equals(Standards, other.Standards)); }