Exemplo n.º 1
0
        public override bool Equals(object obj)
        {
            var other = (XLRange)obj;

            return(RangeAddress.Equals(other.RangeAddress) &&
                   Worksheet.Equals(other.Worksheet));
        }
Exemplo n.º 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));
        }