コード例 #1
0
        /// <summary>
        /// Returns true if Model3dsData instances are equal
        /// </summary>
        /// <param name="other">Instance of Model3dsData to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(ThreeDSEnrollment other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     Downgraded == other.Downgraded ||
                     Downgraded != null &&
                     Downgraded.Equals(other.Downgraded)
                     ) &&
                 (
                     Enrolled == other.Enrolled ||
                     Enrolled != null &&
                     Enrolled.Equals(other.Enrolled)
                 ) &&
                 (
                     SignatureValid == other.SignatureValid ||
                     SignatureValid != null &&
                     SignatureValid.Equals(other.SignatureValid)
                 ) &&
                 (
                     AuthenticationResponse == other.AuthenticationResponse ||
                     AuthenticationResponse != null &&
                     AuthenticationResponse.Equals(other.AuthenticationResponse)
                 ) &&
                 (
                     Cryptogram == other.Cryptogram ||
                     Cryptogram != null &&
                     Cryptogram.Equals(other.Cryptogram)
                 ) &&
                 (
                     Xid == other.Xid ||
                     Xid != null &&
                     Xid.Equals(other.Xid)
                 ) &&
                 (
                     Version == other.Version ||
                     Version != null &&
                     Version.Equals(other.Version)
                 ));
        }