コード例 #1
0
ファイル: I2CSlaveAddress.cs プロジェクト: qcjxberin/HA4IoT
        public bool Equals(I2CSlaveAddress other)
        {
            if (other == null)
            {
                return(false);
            }

            if (ReferenceEquals(other, this))
            {
                return(true);
            }

            return(Value.Equals(other.Value));
        }
コード例 #2
0
ファイル: I2CSlaveAddress.cs プロジェクト: wuzhenda/HA4IoT
 public bool Equals(I2CSlaveAddress other)
 {
     return(Value.Equals(other.Value));
 }