BitSharp.Core.Domain.SpentTx.Equals C# (CSharp) 메소드

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool
        public override bool Equals(object obj)
        {
            if (!(obj is SpentTx))
                return false;

            var other = (SpentTx)obj;
            return other.TxHash == this.TxHash && other.ConfirmedBlockIndex == this.ConfirmedBlockIndex && other.TxIndex == this.TxIndex;
        }
    }