示例#1
0
        /// <summary>
        /// Accepts the specified visitor by calling its <see cref="IQueryModelVisitor.VisitOrderByClause"/> method.
        /// </summary>
        /// <param name="visitor">The visitor to accept.</param>
        /// <param name="queryModel">The query model in whose context this clause is visited.</param>
        /// <param name="index">The index of this clause in the <paramref name="queryModel"/>'s <see cref="QueryModel.BodyClauses"/> collection.</param>
        public virtual void Accept(IQueryModelVisitor visitor, QueryModel queryModel, int index)
        {
            ArgumentUtility.CheckNotNull("visitor", visitor);
            ArgumentUtility.CheckNotNull("queryModel", queryModel);

            visitor.VisitOrderByClause(this, queryModel, index);
        }
    /// <summary>
    /// Accepts the specified visitor by calling its <see cref="IQueryModelVisitor.VisitOrderByClause"/> method.
    /// </summary>
    /// <param name="visitor">The visitor to accept.</param>
    /// <param name="queryModel">The query model in whose context this clause is visited.</param>
    /// <param name="index">The index of this clause in the <paramref name="queryModel"/>'s <see cref="QueryModel.BodyClauses"/> collection.</param>
    public virtual void Accept (IQueryModelVisitor visitor, QueryModel queryModel, int index)
    {
      ArgumentUtility.CheckNotNull ("visitor", visitor);
      ArgumentUtility.CheckNotNull ("queryModel", queryModel);

      visitor.VisitOrderByClause (this, queryModel, index);
    }
示例#3
0
 /// <summary>
 /// Accepts the specified visitor by calling its <see cref="IQueryModelVisitor.VisitOrderByClause"/> method.
 /// </summary>
 /// <param name="visitor">The visitor to accept.</param>
 /// <param name="queryModel">The query model in whose context this clause is visited.</param>
 /// <param name="index">The index of this clause in the <paramref name="queryModel"/>'s <see cref="QueryModel.BodyClauses"/> collection.</param>
 public virtual void Accept(IQueryModelVisitor visitor, QueryModel queryModel, int index)
 {
     visitor.VisitOrderByClause(this, queryModel, index);
 }