示例#1
0
        /// <summary>
        /// Compares two instances of this object.
        /// </summary>
        /// <param name="SessionId1">A SessionId.</param>
        /// <param name="SessionId2">Another SessionId.</param>
        /// <returns>true|false</returns>
        public static Boolean operator >(Session_Id SessionId1, Session_Id SessionId2)
        {
            if ((Object)SessionId1 == null)
            {
                throw new ArgumentNullException("The given SessionId1 must not be null!");
            }

            return(SessionId1.CompareTo(SessionId2) > 0);
        }
        /// <summary>
        /// Compares two instances of this object.
        /// </summary>
        /// <param name="SessionId1">A charging session identification.</param>
        /// <param name="SessionId2">Another charging session identification.</param>
        /// <returns>true|false</returns>
        public static Boolean operator >=(ServiceSession_Id SessionId1,
                                          ServiceSession_Id SessionId2)

        => SessionId1.CompareTo(SessionId2) >= 0;
示例#3
0
        /// <summary>
        /// Compares two instances of this object.
        /// </summary>
        /// <param name="SessionId1">A charging session identification.</param>
        /// <param name="SessionId2">Another charging session identification.</param>
        /// <returns>true|false</returns>
        public static Boolean operator >=(CPOPartnerSession_Id SessionId1,
                                          CPOPartnerSession_Id SessionId2)

        => SessionId1.CompareTo(SessionId2) >= 0;
示例#4
0
        /// <summary>
        /// Compares two instances of this object.
        /// </summary>
        /// <param name="SessionId1">A charging session identification.</param>
        /// <param name="SessionId2">Another charging session identification.</param>
        /// <returns>true|false</returns>
        public static Boolean operator >(Session_Id SessionId1,
                                         Session_Id SessionId2)

        => SessionId1.CompareTo(SessionId2) > 0;
 /// <summary>
 /// Compares two instances of this object.
 /// </summary>
 /// <param name="SessionId1">A charging session identification.</param>
 /// <param name="SessionId2">Another charging session identification.</param>
 /// <returns>true|false</returns>
 public static Boolean operator >(EMPPartnerSession_Id SessionId1, EMPPartnerSession_Id SessionId2)
 => SessionId1.CompareTo(SessionId2) > 0;