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

            return(ContractId1.CompareTo(ContractId2) > 0);
        }
Example #2
0
        /// <summary>
        /// Compares two instances of this object.
        /// </summary>
        /// <param name="ContractId1">A contract identification.</param>
        /// <param name="ContractId2">Another contract identification.</param>
        /// <returns>true|false</returns>
        public static Boolean operator >(Contract_Id ContractId1,
                                         Contract_Id ContractId2)

        => ContractId1.CompareTo(ContractId2) > 0;