Esempio n. 1
0
 public bool Equals(EdmPropertyPath other)
 {
     if (object.ReferenceEquals((object)null, (object)other))
     {
         return(false);
     }
     if (object.ReferenceEquals((object)this, (object)other))
     {
         return(true);
     }
     return(this._components.SequenceEqual <EdmProperty>((IEnumerable <EdmProperty>)other._components, (Func <EdmProperty, EdmProperty, bool>)((p1, p2) => p1 == p2)));
 }
Esempio n. 2
0
        public bool Equals(EdmPropertyPath other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }

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

            return(_components.SequenceEqual(other._components, (p1, p2) => p1 == p2));
        }