/// <summary> /// Compares two instances of this object. /// </summary> /// <param name="ChargingPoolId1">A charging pool identification.</param> /// <param name="ChargingPoolId2">Another charging pool identification.</param> /// <returns>true|false</returns> public static Boolean operator ==(ChargingPool_Id ChargingPoolId1, ChargingPool_Id ChargingPoolId2) { // If both are null, or both are same instance, return true. if (ReferenceEquals(ChargingPoolId1, ChargingPoolId2)) { return(true); } // If one is null, but not both, return false. if (((Object)ChargingPoolId1 == null) || ((Object)ChargingPoolId2 == null)) { return(false); } return(ChargingPoolId1.Equals(ChargingPoolId2)); }
/// <summary> /// Compares two instances of this object. /// </summary> /// <param name="ChargingPoolId1">A time zone identification.</param> /// <param name="ChargingPoolId2">Another time zone identification.</param> /// <returns>true|false</returns> public static Boolean operator !=(Time_Zone ChargingPoolId1, Time_Zone ChargingPoolId2) => !ChargingPoolId1.Equals(ChargingPoolId2);
/// <summary> /// Compares two instances of this object. /// </summary> /// <param name="ChargingPoolId1">A charging pool identification.</param> /// <param name="ChargingPoolId2">Another charging pool identification.</param> /// <returns>true|false</returns> public static Boolean operator !=(ChargingPool_Id ChargingPoolId1, ChargingPool_Id ChargingPoolId2) => !ChargingPoolId1.Equals(ChargingPoolId2);