Esempio n. 1
0
        /// <summary>
        /// Compares two instances of this object.
        /// </summary>
        /// <param name="StatusSchedule1">A status schedule.</param>
        /// <param name="StatusSchedule2">Another status schedule.</param>
        /// <returns>true|false</returns>
        public static Boolean operator >(StatusSchedule StatusSchedule1,
                                         StatusSchedule StatusSchedule2)

        => StatusSchedule1.CompareTo(StatusSchedule2) > 0;
Esempio n. 2
0
        /// <summary>
        /// Compares two instances of this object.
        /// </summary>
        /// <param name="StatusSchedule1">A status schedule.</param>
        /// <param name="StatusSchedule2">Another status schedule.</param>
        /// <returns>true|false</returns>
        public static Boolean operator ==(StatusSchedule StatusSchedule1,
                                          StatusSchedule StatusSchedule2)

        => StatusSchedule1.Equals(StatusSchedule2);