Esempio n. 1
0
        public bool Equals(SingleLineTextRange other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

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

            return(BeginCharacterPosition.Equals(other.BeginCharacterPosition) &&
                   EndCharacterPosition.Equals(other.EndCharacterPosition) &&
                   LinePosition.Equals(other.LinePosition));
        }