Esempio n. 1
0
        /// <summary>
        /// Compares two instances of this object.
        /// </summary>
        /// <param name="AccessToken1">An access token.</param>
        /// <param name="AccessToken2">Another access token.</param>
        /// <returns>true|false</returns>
        public static Boolean operator >(AccessToken AccessToken1,
                                         AccessToken AccessToken2)

        => AccessToken1.CompareTo(AccessToken2) > 0;
Esempio n. 2
0
        /// <summary>
        /// Compares two instances of this object.
        /// </summary>
        /// <param name="AccessToken1">An access token.</param>
        /// <param name="AccessToken2">Another access token.</param>
        /// <returns>true|false</returns>
        public static Boolean operator ==(AccessToken AccessToken1,
                                          AccessToken AccessToken2)

        => AccessToken1.Equals(AccessToken2);