/// <summary> /// Compares two instances of this object. /// </summary> /// <param name="TokenId1">A TokenId.</param> /// <param name="TokenId2">Another TokenId.</param> /// <returns>true|false</returns> public static Boolean operator >(Auth_Token TokenId1, Auth_Token TokenId2) { if ((Object)TokenId1 == null) { throw new ArgumentNullException("The given TokenId1 must not be null!"); } return(TokenId1.CompareTo(TokenId2) > 0); }
/// <summary> /// Compares two instances of this object. /// </summary> /// <param name="TokenId1">A token identification.</param> /// <param name="TokenId2">Another token identification.</param> /// <returns>true|false</returns> public static Boolean operator >(Token_Id TokenId1, Token_Id TokenId2) => TokenId1.CompareTo(TokenId2) > 0;