Beispiel #1
0
        /// <summary>
        /// Compares two instances of this object.
        /// </summary>
        /// <param name="NewsBannerId1">A news banner identification.</param>
        /// <param name="NewsBannerId2">Another news banner identification.</param>
        /// <returns>true|false</returns>
        public static Boolean operator >=(NewsBanner_Id NewsBannerId1,
                                          NewsBanner_Id NewsBannerId2)

        => NewsBannerId1.CompareTo(NewsBannerId2) >= 0;
Beispiel #2
0
        /// <summary>
        /// Compares two instances of this object.
        /// </summary>
        /// <param name="NewsBannerId1">A news banner identification.</param>
        /// <param name="NewsBannerId2">Another news banner identification.</param>
        /// <returns>true|false</returns>
        public static Boolean operator !=(NewsBanner_Id NewsBannerId1,
                                          NewsBanner_Id NewsBannerId2)

        => !NewsBannerId1.Equals(NewsBannerId2);