NReco.LambdaParser 1.0.12

Runtime expressions parser and evaluator (formulas, conditions, method calls, properties/indexers etc). Builds LINQ expression tree and compiles it to lambda delegate with full support of dynamically typed variables.

Install-Package NReco.LambdaParser -Version 1.0.12
dotnet add package NReco.LambdaParser --version 1.0.12
<PackageReference Include="NReco.LambdaParser" Version="1.0.12" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NReco.LambdaParser --version 1.0.12
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Source code and examples: https://github.com/nreco/lambdaparser

v.1.0.12 changes:
- fixed an issue when comparison result is used as an argument in a method call #30

v.1.0.11 changes:
- removed legacy Portable targets that cause build problems in some environments

v.1.0.10 changes:
- fixed issue with 'Object must implement IConvertible' (occurs when delegate argument doesn't implement IConvertible, even if conversion is not needed)

v.1.0.9 changes:
- defined +/- operations for datetime/timespan types #17
- added ILambdaValue for accessing real values in Expression produced by LamdbaParser #16
- added option to allow single equal sign '=' for comparison #13
- added netstandard2.0 build #15

v.1.0.8 changes:
- fixed parse error of calls chain like delegate().method1().method2()

v.1.0.7 changes:
- fixed evaluation of and/or conditions (exceptions like 'AndAlso / OrElse is not defined')

v.1.0.6 changes:
- introduced IValueComparer interface for custom values comparison (https://github.com/nreco/lambdaparser/issues/10)
- default ValueComparer implementation with options: NullComparison (MinValue, Sql), SuppressErrors
- starting from this version expression cache is instance specific (was global) because calculation result may depend on IValueComparer implementation

NuGet packages (8)

Showing the top 5 NuGet packages that depend on NReco.LambdaParser:

Package Downloads
ExtendedXmlSerializer
An extensible Xml Serializer for .NET that builds on the functionality of the classic XmlSerializer with a powerful and robust extension model.
LJH.DO
数据访问组件,有用到批量插入、插入后返回值的功能需要安装具体数据库类型的包,如LJH.DO.SqlServer 1. netcore升级到3.1
agent-core
The actual agent, in lib form so as to be embeddable and easy to package in different ways.
Transformalize.Transform.LambdaParser
Transformalize Transform using NReco.LambdaParser
TaxSynapse.Account.Plugin
This package allow create yours functions to extend the Tax Synapse core functionality

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on NReco.LambdaParser:

Repository Stars
ExtendedXmlSerializer/home
A configurable and eXtensible Xml serializer for .NET.
dalenewman/Transformalize
Configurable Extract, Transform, and Load

Version History

Version Downloads Last updated
1.0.12 400 7/8/2020
1.0.11 21,033 12/13/2019
1.0.10 12,169 8/19/2019
1.0.9 2,829 4/17/2019
1.0.8 36,463 9/10/2018
1.0.7 29,840 10/9/2017
1.0.6 1,290 7/11/2017
1.0.5 3,613 2/25/2017
1.0.4 2,087 9/15/2016
1.0.3 863 8/1/2016
1.0.2 590 7/4/2016
1.0.1 1,060 4/22/2016
1.0.0 754 1/29/2016