Exemplo n.º 1
0
        /// <summary>
        /// Compares two instances of this object.
        /// </summary>
        /// <param name="ChargingPoolAdminStatus1">A charging pool admin status.</param>
        /// <param name="ChargingPoolAdminStatus2">Another charging pool admin status.</param>
        /// <returns>true|false</returns>
        public static Boolean operator >(ChargingPoolAdminStatus ChargingPoolAdminStatus1, ChargingPoolAdminStatus ChargingPoolAdminStatus2)
        {
            if ((Object)ChargingPoolAdminStatus1 == null)
            {
                throw new ArgumentNullException(nameof(ChargingPoolAdminStatus1), "The given ChargingPoolAdminStatus1 must not be null!");
            }

            return(ChargingPoolAdminStatus1.CompareTo(ChargingPoolAdminStatus2) > 0);
        }