Ejemplo n.º 1
0
        /// <summary>
        /// Compares two instances of this object.
        /// </summary>
        /// <param name="UserGroupId1">An user group identification.</param>
        /// <param name="UserGroupId2">Another user group identification.</param>
        /// <returns>true|false</returns>
        public static Boolean operator >=(UserGroup_Id UserGroupId1,
                                          UserGroup_Id UserGroupId2)

        => UserGroupId1.CompareTo(UserGroupId2) >= 0;
Ejemplo n.º 2
0
        /// <summary>
        /// Compares two instances of this object.
        /// </summary>
        /// <param name="UserGroupId1">An user group identification.</param>
        /// <param name="UserGroupId2">Another user group identification.</param>
        /// <returns>true|false</returns>
        public static Boolean operator !=(UserGroup_Id UserGroupId1,
                                          UserGroup_Id UserGroupId2)

        => !UserGroupId1.Equals(UserGroupId2);