public override bool Equals()

in src/Microsoft.Azure.NotificationHubs/ApnsCredential.cs [218:228]


        public override bool Equals(object other)
        {
            ApnsCredential otherCredential = other as ApnsCredential;
            if (otherCredential == null)
            {
                return false;
            }

            return (otherCredential.Endpoint == this.Endpoint && otherCredential.CertificateKey == this.CertificateKey && otherCredential.ApnsCertificate == this.ApnsCertificate
                && otherCredential.Token == this.Token && otherCredential.KeyId == this.KeyId && otherCredential.AppName == this.AppName && otherCredential.AppId == this.AppId);
        }