示例#1
0
        public override bool Equals(object obj)
        {
            var other = (XLRange)obj;

            return(RangeAddress.Equals(other.RangeAddress) &&
                   Worksheet.Equals(other.Worksheet));
        }
示例#2
0
        public override bool Equals(object obj)
        {
            var other = obj as XLRange;

            if (other == null)
            {
                return(false);
            }
            return(RangeAddress.Equals(other.RangeAddress) &&
                   Worksheet.Equals(other.Worksheet));
        }