Exemple #1
0
        public JmesPathExpressionEvaluatorTests()
        {
            _jmesPath = new JmesPath();
            _singleValueExpressionEvaluator = new JmesPathExpressionEvaluator(_jmesPath, "testProperty");

            _projectedExpressionEvaluator = new JmesPathExpressionEvaluator(_jmesPath, "property[].name");
        }
        public JmesPathExpressionEvaluatorTests()
        {
            _jmesPath = new JmesPath();
            _singleValueExpressionEvaluator = new JmesPathExpressionEvaluator(_jmesPath, "testProperty", new LineInfo());

            _projectedExpressionEvaluator = new JmesPathExpressionEvaluator(
                _jmesPath,
                "property[].name",
                new LineInfo()
            {
                LineNumber   = 123,
                LinePosition = 456,
            });
        }