Пример #1
0
        /// <summary>
        /// Compares two instances of this object.
        /// </summary>
        /// <param name="RemotePartyId1">A remote party identification.</param>
        /// <param name="RemotePartyId2">Another remote party identification.</param>
        /// <returns>true|false</returns>
        public static Boolean operator >(RemoteParty_Id RemotePartyId1,
                                         RemoteParty_Id RemotePartyId2)

        => RemotePartyId1.CompareTo(RemotePartyId2) > 0;
Пример #2
0
        /// <summary>
        /// Compares two instances of this object.
        /// </summary>
        /// <param name="RemotePartyId1">A remote party identification.</param>
        /// <param name="RemotePartyId2">Another remote party identification.</param>
        /// <returns>true|false</returns>
        public static Boolean operator ==(RemoteParty_Id RemotePartyId1,
                                          RemoteParty_Id RemotePartyId2)

        => RemotePartyId1.Equals(RemotePartyId2);