/// <summary> /// Compares two instances of this object. /// </summary> /// <param name="EventTrackingId">An object to compare with.</param> public Int32 CompareTo(EventTracking_Id EventTrackingId) { if ((Object) EventTrackingId == null) throw new ArgumentNullException("The given EventTrackingId must not be null!"); return _Id.CompareTo(EventTrackingId._Id); }
/// <summary> /// Compares two EventTrackingIds for equality. /// </summary> /// <param name="EventTrackingId">A EventTrackingId to compare with.</param> /// <returns>True if both match; False otherwise.</returns> public Boolean Equals(EventTracking_Id EventTrackingId) { if ((Object) EventTrackingId == null) return false; return _Id.Equals(EventTrackingId._Id); }
/// <summary> /// Parse the given string as an event tracking identification. /// </summary> /// <param name="Text">A text representation of an event tracking identification.</param> /// <param name="EventTrackingId">The parsed event tracking identification.</param> public static Boolean TryParse(String Text, out EventTracking_Id EventTrackingId) { try { EventTrackingId = new EventTracking_Id(Text); return true; } catch (Exception) { EventTrackingId = null; return false; } }