/// <summary> /// Compares two EVSE_Operator for equality. /// </summary> /// <param name="EVSE_Operator">An EVSE_Operator to compare with.</param> /// <returns>True if both match; False otherwise.</returns> public Boolean Equals(NavigationServiceProvider EVSE_Operator) { if ((Object)EVSE_Operator == null) { return(false); } return(Id.Equals(EVSE_Operator.Id)); }
/// <summary> /// Compares two instances of this object. /// </summary> /// <param name="EVSE_Operator">An EVSE_Operator object to compare with.</param> public Int32 CompareTo(NavigationServiceProvider EVSE_Operator) { if ((Object)EVSE_Operator == null) { throw new ArgumentNullException("The given EVSE_Operator must not be null!"); } return(Id.CompareTo(EVSE_Operator.Id)); }