コード例 #1
0
        /// <summary>
        /// Compares two instances of this object.
        /// </summary>
        /// <param name="SignedValueNature1">A signed value nature.</param>
        /// <param name="SignedValueNature2">Another signed value nature.</param>
        /// <returns>true|false</returns>
        public static Boolean operator >(SignedValueNature SignedValueNature1,
                                         SignedValueNature SignedValueNature2)

        => SignedValueNature1.CompareTo(SignedValueNature2) > 0;
コード例 #2
0
        /// <summary>
        /// Compares two instances of this object.
        /// </summary>
        /// <param name="SignedValueNature1">A signed value nature.</param>
        /// <param name="SignedValueNature2">Another signed value nature.</param>
        /// <returns>true|false</returns>
        public static Boolean operator ==(SignedValueNature SignedValueNature1,
                                          SignedValueNature SignedValueNature2)

        => SignedValueNature1.Equals(SignedValueNature2);