Beispiel #1
0
        /// <summary>
        /// Compares two instances of this object.
        /// </summary>
        /// <param name="NotificationMessageId1">A NotificationMessage identification.</param>
        /// <param name="NotificationMessageId2">Another NotificationMessage identification.</param>
        /// <returns>true|false</returns>
        public static Boolean operator >(NotificationMessage NotificationMessageId1, NotificationMessage NotificationMessageId2)
        {
            if ((Object)NotificationMessageId1 == null)
            {
                throw new ArgumentNullException(nameof(NotificationMessageId1), "The given NotificationMessageId1 must not be null!");
            }

            return(NotificationMessageId1.CompareTo(NotificationMessageId2) > 0);
        }
Beispiel #2
0
        /// <summary>
        /// Compares two instances of this object.
        /// </summary>
        /// <param name="NotificationMessageId1">A notification message identification.</param>
        /// <param name="NotificationMessageId2">Another notification message identification.</param>
        /// <returns>true|false</returns>
        public static Boolean operator >=(NotificationMessage_Id NotificationMessageId1,
                                          NotificationMessage_Id NotificationMessageId2)

        => NotificationMessageId1.CompareTo(NotificationMessageId2) >= 0;