Exemplo n.º 1
0
        /// <summary>
        /// Compares two instances of this object.
        /// </summary>
        /// <param name="NotificationMessageType1">A notification identification.</param>
        /// <param name="NotificationMessageType2">Another notification identification.</param>
        /// <returns>true|false</returns>
        public static Boolean operator >=(NotificationMessageType NotificationMessageType1,
                                          NotificationMessageType NotificationMessageType2)

        => NotificationMessageType1.CompareTo(NotificationMessageType2) >= 0;
Exemplo n.º 2
0
        /// <summary>
        /// Compares two instances of this object.
        /// </summary>
        /// <param name="NotificationMessageType1">A notification identification.</param>
        /// <param name="NotificationMessageType2">Another notification identification.</param>
        /// <returns>true|false</returns>
        public static Boolean operator !=(NotificationMessageType NotificationMessageType1,
                                          NotificationMessageType NotificationMessageType2)

        => !NotificationMessageType1.Equals(NotificationMessageType2);