BitSharp.Core.Domain.BlockHeader.operator C# (CSharp) Method

operator() public static method

public static operator ( ) : bool
return bool
        public static bool operator ==(BlockHeader left, BlockHeader right)
        {
            return object.ReferenceEquals(left, right) || (!object.ReferenceEquals(left, null) && !object.ReferenceEquals(right, null) && left.Hash == right.Hash && left.Version == right.Version && left.PreviousBlock == right.PreviousBlock && left.MerkleRoot == right.MerkleRoot && left.Time == right.Time && left.Bits == right.Bits && left.Nonce == right.Nonce);
        }