/// <summary> /// Initializes a new instance of the <see cref="StatementParser" /> class. /// </summary> /// <param name="tokenSplitter">The token splitter.</param> /// <param name="whereParser">The where parser.</param> /// <param name="pageParser">The page parser.</param> /// <param name="orderByParser">The order by parser.</param> /// <param name="selectParser">The select parser.</param> public StatementParser( [NotNull] ISplitter <TokenSplitterResponse> tokenSplitter, [NotNull] IWhereParser whereParser, [NotNull] IPageParser pageParser, [NotNull] IOrderByParser orderByParser, [NotNull] ISelectParser selectParser) { this.tokenSplitter = tokenSplitter; this.whereParser = whereParser; this.pageParser = pageParser; this.orderByParser = orderByParser; this.selectParser = selectParser; }
/// <summary> /// Initializes a new instance of the <see cref="Query" /> class. /// </summary> /// <param name="whereParser">The where parser.</param> /// <param name="selectParser">The select parser.</param> public Query([NotNull] IWhereParser whereParser, [NotNull] ISelectParser selectParser) { this.whereParser = whereParser; this.selectParser = selectParser; }