コード例 #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ArtifactLink.Length != 0)
            {
                hash ^= ArtifactLink.GetHashCode();
            }
            hash ^= originServerCerts_.GetHashCode();
            if (ArtifactSignature.Length != 0)
            {
                hash ^= ArtifactSignature.GetHashCode();
            }
            if (SubType.Length != 0)
            {
                hash ^= SubType.GetHashCode();
            }
            if (Signature.Length != 0)
            {
                hash ^= Signature.GetHashCode();
            }
            if (SignedTimeStamp.Length != 0)
            {
                hash ^= SignedTimeStamp.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
コード例 #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (Value.Length != 0)
            {
                hash ^= Value.GetHashCode();
            }
            if (ContentType != 0)
            {
                hash ^= ContentType.GetHashCode();
            }
            if (ArtifactSignature.Length != 0)
            {
                hash ^= ArtifactSignature.GetHashCode();
            }
            if (SubType.Length != 0)
            {
                hash ^= SubType.GetHashCode();
            }
            if (SignedTimeStamp.Length != 0)
            {
                hash ^= SignedTimeStamp.GetHashCode();
            }
            return(hash);
        }
コード例 #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (Value.Length != 0)
            {
                hash ^= Value.GetHashCode();
            }
            if (ContentType != global::Yoti.Auth.ProtoBuf.Attribute.ContentType.Undefined)
            {
                hash ^= ContentType.GetHashCode();
            }
            if (ArtifactSignature.Length != 0)
            {
                hash ^= ArtifactSignature.GetHashCode();
            }
            if (SubType.Length != 0)
            {
                hash ^= SubType.GetHashCode();
            }
            if (SignedTimeStamp.Length != 0)
            {
                hash ^= SignedTimeStamp.GetHashCode();
            }
            if (AssociatedSource.Length != 0)
            {
                hash ^= AssociatedSource.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }