Org.BouncyCastle.Asn1.Asn1TaggedObject.Asn1Equals C# (CSharp) Méthode

Asn1Equals() protected méthode

protected Asn1Equals ( Asn1Object asn1Object ) : bool
asn1Object Asn1Object
Résultat bool
		protected override bool Asn1Equals(
			Asn1Object asn1Object)
        {
			Asn1TaggedObject other = asn1Object as Asn1TaggedObject;

			if (other == null)
				return false;

			return this.tagNo == other.tagNo
//				&& this.empty == other.empty
				&& this.explicitly == other.explicitly   // TODO Should this be part of equality?
				&& Platform.Equals(GetObject(), other.GetObject());
		}