/// <summary> /// Accepts the specified <paramref name="visitor"/> and dispatches calls to the specific visitor /// methods for this object. /// </summary> /// <param name="visitor"> /// The <see cref="ISqlVisitor" /> to visit this object with. /// </param> public override void Accept(ISqlVisitor visitor) { base.Accept(visitor); Column.Accept(visitor); visitor.Visit(SqlBinaryOperator.Equal); Value.Accept(visitor); }
/// <summary> /// Accepts the specified <paramref name="visitor"/> and dispatches calls to the specific visitor /// methods for this object. /// </summary> /// <param name="source"> /// The collection of <see cref="SqlSort"/> expressions on which to accept the visitor. /// </param> /// <param name="visitor"> /// The <see cref="ISqlVisitor" /> to visit this object with. /// </param> public static void Accept(this IEnumerable<SqlSort> source, ISqlVisitor visitor) { if (source == null) throw new ArgumentNullException(nameof(source)); if (visitor == null) throw new ArgumentNullException(nameof(visitor)); visitor.Visit(source); }
/// <summary> /// Accepts the specified <paramref name="visitor"/> and dispatches calls to the specific visitor /// methods for this object. /// </summary> /// <param name="visitor"> /// The <see cref="ISqlVisitor" /> to visit this object with. /// </param> public virtual void Accept(ISqlVisitor visitor) { if (visitor == null) { throw new ArgumentNullException(nameof(visitor)); } visitor.Visit(this); }
/// <summary> /// Accepts the specified <paramref name="visitor"/> and dispatches calls to the specific visitor /// methods for this object. /// </summary> /// <param name="sortOrder"> /// The <see cref="SqlSortOrder"/> on which to accept the visitor. /// </param> /// <param name="visitor"> /// The <see cref="ISqlVisitor" /> to visit this object with. /// </param> public static void Accept(this SqlSortOrder sortOrder, ISqlVisitor visitor) { if (visitor == null) { throw new ArgumentNullException(nameof(visitor)); } visitor.Visit(sortOrder); }
/// <summary> /// Accepts the specified <paramref name="visitor"/> and dispatches calls to the specific visitor /// methods for this object. /// </summary> /// <param name="operator"> /// The <see cref="SqlBinaryOperator"/> on which to accept the visitor. /// </param> /// <param name="visitor"> /// The <see cref="ISqlVisitor" /> to visit this object with. /// </param> public static void Accept(this SqlBinaryOperator @operator, ISqlVisitor visitor) { if (visitor == null) { throw new ArgumentNullException(nameof(visitor)); } visitor.Visit(@operator); }
/// <summary> /// Accepts the specified <paramref name="visitor"/> and dispatches calls to the specific visitor /// methods for this object. /// </summary> /// <param name="source"> /// The collection of <see cref="SqlSort"/> expressions on which to accept the visitor. /// </param> /// <param name="visitor"> /// The <see cref="ISqlVisitor" /> to visit this object with. /// </param> public static void Accept(this IEnumerable <SqlSort> source, ISqlVisitor visitor) { if (source == null) { throw new ArgumentNullException(nameof(source)); } if (visitor == null) { throw new ArgumentNullException(nameof(visitor)); } visitor.Visit(source); }
public override void AcceptVisitor(ISqlVisitor visitor) { visitor.Visit(this); }
/// <summary> /// Accepts the specified visitor. /// </summary> /// <typeparam name="T">Return type.</typeparam> /// <param name="visitor">The visitor.</param> /// <returns>Returns processed value from expression.</returns> public override T Accept <T>(ISqlVisitor <T> visitor) { return(visitor.Visit(this)); }
/// <summary> /// Accepts the specified <paramref name="visitor"/> and dispatches calls to the specific visitor /// methods for this object. /// </summary> /// <param name="visitor"> /// The <see cref="ISqlVisitor" /> to visit this object with. /// </param> public virtual void Accept(ISqlVisitor visitor) { if (visitor == null) throw new ArgumentNullException(nameof(visitor)); visitor.Visit(this); }
/// <summary> /// Accepts the specified <paramref name="visitor"/> and dispatches calls to the specific visitor /// methods for this object. /// </summary> /// <param name="sortOrder"> /// The <see cref="SqlSortOrder"/> on which to accept the visitor. /// </param> /// <param name="visitor"> /// The <see cref="ISqlVisitor" /> to visit this object with. /// </param> public static void Accept(this SqlSortOrder sortOrder, ISqlVisitor visitor) { if (visitor == null) throw new ArgumentNullException(nameof(visitor)); visitor.Visit(sortOrder); }
/// <summary> /// Accepts the specified <paramref name="visitor"/> and dispatches calls to the specific visitor /// methods for this object. /// </summary> /// <param name="operator"> /// The <see cref="SqlBinaryOperator"/> on which to accept the visitor. /// </param> /// <param name="visitor"> /// The <see cref="ISqlVisitor" /> to visit this object with. /// </param> public static void Accept(this SqlBinaryOperator @operator, ISqlVisitor visitor) { if (visitor == null) throw new ArgumentNullException(nameof(visitor)); visitor.Visit(@operator); }