상속: ODataQueryPart
예제 #1
0
        public bool Equals(SkipTokenQueryPart other)
        {
            var result = false;

            if (ReferenceEquals(null, other))
            {
                result = false;
            }
            else if (ReferenceEquals(this, other))
            {
                result = true;
            }
            else
            {
                result = Equals(other.Predicate, Predicate);
            }

            return(result);
        }
예제 #2
0
        public bool Equals(SkipTokenQueryPart other)
        {
            var result = false;

            if (ReferenceEquals(null, other))
            {
                result = false;
            }
            else if (ReferenceEquals(this, other))
            {
                result = true;
            }
            else
            {
                result = Equals(other.Predicate, Predicate);
            }

            return result;
        }
        public void ToString_NullPredicate_ReturnsEmptyString()
        {
            var skipTokenQueryPart = new SkipTokenQueryPart(null);

            Assert.That(skipTokenQueryPart.ToString(), Is.EqualTo(String.Empty));
        }
예제 #4
0
 protected virtual SkipTokenQueryPart VisitSkipToken(SkipTokenQueryPart skipToken)
 {
     return skipToken;
 }
예제 #5
0
 protected virtual SkipTokenQueryPart VisitSkipToken(SkipTokenQueryPart skipToken)
 {
     return(skipToken);
 }