/// <summary> /// Compares two EVSE_Ids for equality. /// </summary> /// <param name="Address">An address to compare with.</param> /// <returns>True if both match; False otherwise.</returns> public Boolean Equals(Address Address) { if ((Object)Address == null) { return(false); } return(_Street.Equals(Address.Street) && _HouseNumber.Equals(Address.HouseNumber) && _FloorLevel.Equals(Address.FloorLevel) && _PostalCode.Equals(Address.PostalCode) && _PostalCodeSub.Equals(Address.PostalCodeSub) && _City.Equals(Address.City) && _Country.Equals(Address.Country)); }