CodingSeb.ExpressionEvaluator 1.3.3

A Simple Math and Pseudo C# Expression Evaluator in One C# File. And from version 1.2.0 can execute small C# like scripts

There is a newer version of this package available.
See the version list below for details.
Install-Package CodingSeb.ExpressionEvaluator -Version 1.3.3
dotnet add package CodingSeb.ExpressionEvaluator --version 1.3.3
<PackageReference Include="CodingSeb.ExpressionEvaluator" Version="1.3.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CodingSeb.ExpressionEvaluator --version 1.3.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Main improvements
* Support <> syntax for specify types of generics
* Support of creation initializers for collections, dictionnaries and objects

Here a few examples of what this version allow to do :

new List<string>() { "text1", "text2" }
new Dictionnary<string, int> { {"seven", 7}, {"nine", 9}}
new Dictionnary<string, int> { ["seven"]= 7, ["nine"] = 9}
new MyObject() { MyStringProperty = "A value", MyIntProperty  = 8}

Other changes
* Add ListOfType Standard function
* A reference on the current evaluator added in VariableEvaluationEventArg and FunctionEvaluationEventArg
* Small improvement of the Indexing []

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.4.9 3,623 3/6/2020
1.4.8 167 2/25/2020
1.4.7 170 2/12/2020
1.4.6 200 2/7/2020
1.4.5 3,843 11/25/2019
1.4.4 937 10/3/2019
1.4.3 89 10/2/2019
1.4.2 137 9/24/2019
1.4.1 252 9/18/2019
1.4.0 2,621 5/28/2019
1.3.7 292 4/10/2019
1.3.6 211 4/2/2019
1.3.5 174 3/28/2019
1.3.4 245 3/14/2019
1.3.3 176 2/15/2019
1.3.2 290 1/19/2019
1.3.1 227 1/10/2019
1.3.0 1,070 12/6/2018
1.2.2 294 10/31/2018
1.2.1 381 8/2/2018
1.2.0 473 7/31/2018
1.0.2 354 5/16/2018
1.0.1 359 5/7/2018
1.0.0 330 5/7/2018
Show less