Example #1
0
 public override bool Equals(object obj)
 {
     if (obj is CamlParameterBindingFieldRef)
     {
         CamlParameterBindingFieldRef other = (CamlParameterBindingFieldRef)obj;
         if (this.ParameterName != CamlParameterName.NoBinding)
         {
             return(this.ParameterName.Value.Equals(other.ParameterName.Value));
         }
         return(other.ParameterName == CamlParameterName.NoBinding && Bind(CamlExpression.EmptyBindings) == other.Bind(CamlExpression.EmptyBindings));
     }
     return(base.Equals(obj));
 }
Example #2
0
 /// <summary>
 /// Called when visiting a binary expression inside a &lt;Where/&gt; element.
 /// </summary>
 /// <param name="operatorValue">Type of binary operator.</param>
 /// <param name="fieldName">Name of field.</param>
 /// <param name="value">Value to operate against the field.</param>
 /// <param name="includeTimeValue">Indicates whether time component is included in comparison.</param>
 protected internal abstract void VisitWhereBinaryComparisonExpression(CamlBinaryOperator operatorValue, CamlParameterBindingFieldRef fieldName, ICamlParameterBinding value, bool?includeTimeValue);
Example #3
0
 /// <summary>
 /// Called when visiting a unary expression inside a &lt;Where/&gt; element.
 /// </summary>
 /// <param name="operatorValue">Type of unary operator.</param>
 /// <param name="fieldName">Name of field.</param>
 protected internal abstract void VisitWhereUnaryComparisonExpression(CamlUnaryOperator operatorValue, CamlParameterBindingFieldRef fieldName);
Example #4
0
 /// <summary>
 /// Called when visiting a &lt;FieldRef/&gt; expression inside a &lt;GroupBy/&gt; element.
 /// </summary>
 /// <param name="fieldName">Name of grouping field.</param>
 protected internal abstract void VisitGroupByFieldRefExpression(CamlParameterBindingFieldRef fieldName);
Example #5
0
 /// <summary>
 /// Called when visiting a &lt;FieldRef/&gt; expression inside an &lt;OrderBy/&gt; element.
 /// </summary>
 /// <param name="fieldName">Name of order field.</param>
 /// <param name="orderBinding">Sort direction of order field.</param>
 protected internal abstract void VisitOrderByFieldRefExpression(CamlParameterBindingFieldRef fieldName, CamlParameterBindingOrder orderBinding);