コード例 #1
0
            private void ExpandSkip(ExpandClause clause)
            {
                if (!QueryExpressionParser.IsNumeric(_parser.CurrentTokenKind))
                {
                    _parser.ReportError(
                        $"$expand($skip) does not specify a numerical value at position {_parser.Position}");
                }

                clause.Skip = new SkipQueryOption();
                clause.Skip.Initialize(_parser.TokenData.ToString(), _modelStateDictionary);

                _parser.NextToken();
            }