/// <summary> /// Returns true if Member instances are equal /// </summary> /// <param name="other">Instance of Member to be compared</param> /// <returns>Boolean</returns> public bool Equals(Member other) { if (ReferenceEquals(null, other)) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Uuid == other.Uuid || Uuid != null && Uuid.Equals(other.Uuid) ) && ( Period == other.Period || Period != null && Period.Equals(other.Period) ) && ( Practitioner == other.Practitioner || Practitioner != null && Practitioner.Equals(other.Practitioner) ) && ( Type == other.Type || Type != null && Type.Equals(other.Type) ) && ( Status == other.Status || Status != null && Status.Equals(other.Status) )); }