Exemple #1
0
 public override int GetHashCode()
 {
     return
         (Worksheet.GetHashCode()
          ^ FirstAddress.GetHashCode()
          ^ LastAddress.GetHashCode());
 }
Exemple #2
0
        public override bool Equals(object obj)
        {
            var other = (XLRangeAddress)obj;

            return(Worksheet.Equals(other.Worksheet) &&
                   FirstAddress.Equals(other.FirstAddress) &&
                   LastAddress.Equals(other.LastAddress));
        }